Fix parameter name of PharData::getMetadata()

The name should be the same as for Phar::getMetadata().
This commit is contained in:
Nikita Popov 2021-01-18 14:09:00 +01:00
parent 0aad77418d
commit 48e2e5324e
2 changed files with 3 additions and 5 deletions

View File

@ -298,7 +298,7 @@ class PharData extends RecursiveDirectoryIterator implements Countable, ArrayAcc
* @return mixed * @return mixed
* @implementation-alias Phar::getMetadata * @implementation-alias Phar::getMetadata
*/ */
public function getMetadata(array $unserialize_options = []) {} public function getMetadata(array $unserializeOptions = []) {}
/** /**
* @return bool * @return bool

View File

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead. /* This is a generated file, edit the .stub.php file instead.
* Stub hash: 05d4689eb65b244c41c68c13ff39feca6a79a7e1 */ * Stub hash: 3575a0330ff6102461655bc84add44e8b08b585f */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___construct, 0, 0, 1) ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___construct, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
@ -254,9 +254,7 @@ ZEND_END_ARG_INFO()
#define arginfo_class_PharData_getPath arginfo_class_Phar___destruct #define arginfo_class_PharData_getPath arginfo_class_Phar___destruct
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PharData_getMetadata, 0, 0, 0) #define arginfo_class_PharData_getMetadata arginfo_class_Phar_getMetadata
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, unserialize_options, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()
#define arginfo_class_PharData_getModified arginfo_class_Phar___destruct #define arginfo_class_PharData_getModified arginfo_class_Phar___destruct