Skip to content

Commit

Permalink
Merge pull request #9283 from kamil-tekiela/Add-curl-stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Feb 13, 2023
2 parents 9921625 + 8eebebe commit 1be367b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions stubs/Php80.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,24 @@ class DatePeriod implements IteratorAggregate
* @psalm-taint-sink ssrf $url
*/
function get_headers(string $url, bool $associative = false, $context = null) : array|false {}

final class CurlHandle
{
private function __construct()
{
}
}

final class CurlMultiHandle
{
private function __construct()
{
}
}

final class CurlShareHandle
{
private function __construct()
{
}
}

0 comments on commit 1be367b

Please sign in to comment.