1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

fix #8099: ob_implicit_flush argument type changed to bool

This commit is contained in:
Sam Mousa 2022-06-13 12:44:43 +02:00
parent 02d5beecb0
commit 44b2ccb4b7
No known key found for this signature in database
GPG Key ID: A18520F9B4301C9D
2 changed files with 5 additions and 1 deletions

View File

@ -9120,7 +9120,7 @@ return [
'ob_get_status' => ['array', 'full_status='=>'bool'],
'ob_gzhandler' => ['string|false', 'data'=>'string', 'flags'=>'int'],
'ob_iconv_handler' => ['string', 'contents'=>'string', 'status'=>'int'],
'ob_implicit_flush' => ['void', 'enable='=>'int'],
'ob_implicit_flush' => ['void', 'enable='=>'bool'],
'ob_inflatehandler' => ['string', 'data'=>'string', 'mode'=>'int'],
'ob_list_handlers' => ['false|list<string>'],
'ob_start' => ['bool', 'callback='=>'string|array|?callable', 'chunk_size='=>'int', 'flags='=>'int'],

View File

@ -969,6 +969,10 @@ return [
'old' => ['string', 'num'=>'float|int', 'decimals='=>'int'],
'new' => ['string', 'num'=>'float|int', 'decimals='=>'int', 'decimal_separator='=>'string', 'thousands_separator='=>'string'],
],
'ob_implicit_flush' => [
'old' => ['void', 'enable='=>'int'],
'new' => ['void', 'enable='=>'bool'],
],
'openssl_csr_export' => [
'old' => ['bool', 'csr'=>'string|resource', '&w_output'=>'string', 'no_text='=>'bool'],
'new' => ['bool', 'csr'=>'OpenSSLCertificateSigningRequest|string', '&w_output'=>'string', 'no_text='=>'bool'],