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:
commit
1be367bc06
@ -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()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user