mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add missing parameter to Phar::getMetadata()
This commit is contained in:
parent
3f799fc5fd
commit
6bf34b5b97
@ -10054,7 +10054,7 @@ return [
|
||||
'Phar::delMetadata' => ['bool'],
|
||||
'Phar::extractTo' => ['bool', 'pathto'=>'string', 'files='=>'string|array|null', 'overwrite='=>'bool'],
|
||||
'Phar::getAlias' => ['string'],
|
||||
'Phar::getMetadata' => ['mixed'],
|
||||
'Phar::getMetadata' => ['mixed', 'unserializeOptions='=>'array'],
|
||||
'Phar::getModified' => ['bool'],
|
||||
'Phar::getPath' => ['string'],
|
||||
'Phar::getSignature' => ['array{hash:string, hash_type:string}'],
|
||||
@ -10122,7 +10122,7 @@ return [
|
||||
'PharFileInfo::getCompressedSize' => ['int'],
|
||||
'PharFileInfo::getContent' => ['string'],
|
||||
'PharFileInfo::getCRC32' => ['int'],
|
||||
'PharFileInfo::getMetadata' => ['mixed'],
|
||||
'PharFileInfo::getMetadata' => ['mixed', 'unserializeOptions='=>'array'],
|
||||
'PharFileInfo::getPharFlags' => ['int'],
|
||||
'PharFileInfo::hasMetadata' => ['bool'],
|
||||
'PharFileInfo::isCompressed' => ['bool', 'compression_type='=>'int'],
|
||||
|
@ -93,6 +93,14 @@ return [
|
||||
'old' => ['bool', 'mode'=>'int'],
|
||||
'new' => ['bool', 'mode'=>'int', '...args='=>'mixed'],
|
||||
],
|
||||
'Phar::getMetadata' => [
|
||||
'old' => ['mixed'],
|
||||
'new' => ['mixed', 'unserializeOptions='=>'array'],
|
||||
],
|
||||
'PharFileInfo::getMetadata' => [
|
||||
'old' => ['mixed'],
|
||||
'new' => ['mixed', 'unserializeOptions='=>'array'],
|
||||
],
|
||||
'ReflectionClass::getConstants' => [
|
||||
'old' => ['array<string,mixed>'],
|
||||
'new' => ['array<string,mixed>', 'filter='=>'?int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user