mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
parent
aaab522a98
commit
67413c88f9
@ -4395,7 +4395,7 @@ return [
|
||||
'HRTime\StopWatch::stop' => ['void'],
|
||||
'html_entity_decode' => ['string', 'string'=>'string', 'flags='=>'int', 'encoding='=>'string'],
|
||||
'htmlentities' => ['string', 'string'=>'string', 'flags='=>'int', 'encoding='=>'string', 'double_encode='=>'bool'],
|
||||
'htmlspecialchars' => ['string', 'string'=>'string', 'flags='=>'int', 'encoding='=>'string', 'double_encode='=>'bool'],
|
||||
'htmlspecialchars' => ['string', 'string'=>'string', 'flags='=>'int', 'encoding='=>'string|null', 'double_encode='=>'bool'],
|
||||
'htmlspecialchars_decode' => ['string', 'string'=>'string', 'flags='=>'int'],
|
||||
'http\Client::__construct' => ['void', 'driver='=>'string', 'persistent_handle_id='=>'string'],
|
||||
'http\Client::addCookies' => ['http\Client', 'cookies='=>'?array'],
|
||||
|
@ -690,7 +690,7 @@ function html_entity_decode(string $string, ?int $quote_style = null, ?string $c
|
||||
* : string
|
||||
* )
|
||||
*/
|
||||
function htmlspecialchars(string $string, int $flags = ENT_COMPAT | ENT_HTML401, string $encoding = 'UTF-8', bool $double_encode = true) : string {}
|
||||
function htmlspecialchars(string $string, int $flags = ENT_COMPAT | ENT_HTML401, ?string $encoding = 'UTF-8', bool $double_encode = true) : string {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
|
Loading…
Reference in New Issue
Block a user