1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

Merge pull request #9283 from kamil-tekiela/Add-curl-stubs

This commit is contained in:
Bruce Weirdan 2023-02-13 12:51:34 -04:00 committed by GitHub
commit 1be367bc06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
{
}
}