Skip to content

Commit

Permalink
Merge pull request #7486 from villfa/fix/phar-getmetadata
Browse files Browse the repository at this point in the history
Add missing parameter to Phar::getMetadata()
  • Loading branch information
orklah committed Jan 25, 2022
2 parents 3f799fc + 6bf34b5 commit e7ac047
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dictionaries/CallMap.php
Expand Up @@ -10054,7 +10054,7 @@
'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}'],
Expand Down Expand Up @@ -10122,7 +10122,7 @@
'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'],
Expand Down
8 changes: 8 additions & 0 deletions dictionaries/CallMap_80_delta.php
Expand Up @@ -93,6 +93,14 @@
'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'],
Expand Down

0 comments on commit e7ac047

Please sign in to comment.