mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix optional parameter syntax issues
This commit is contained in:
parent
f2c7ea6e4a
commit
210f0396b4
@ -6162,7 +6162,7 @@ return [
|
||||
'json_encode' => ['non-empty-string|false', 'value'=>'mixed', 'flags='=>'int', 'depth='=>'int'],
|
||||
'json_last_error' => ['int'],
|
||||
'json_last_error_msg' => ['string'],
|
||||
'json_validate' => ['bool', 'json'=>'string', 'depth?'=>'positive-int', 'flags='=>'int'],
|
||||
'json_validate' => ['bool', 'json'=>'string', 'depth='=>'positive-int', 'flags='=>'int'],
|
||||
'JsonException::__clone' => ['void'],
|
||||
'JsonException::__construct' => ['void'],
|
||||
'JsonException::__toString' => ['string'],
|
||||
|
@ -17,7 +17,7 @@
|
||||
*/
|
||||
return [
|
||||
'added' => [
|
||||
'json_validate' => ['bool', 'json'=>'string', 'depth?'=>'positive-int', 'flags='=>'int'],
|
||||
'json_validate' => ['bool', 'json'=>'string', 'depth='=>'positive-int', 'flags='=>'int'],
|
||||
],
|
||||
|
||||
'changed' => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user