Skip to content

Commit 0f26f9b

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix parameter name of PharData::getMetadata()
2 parents 85bfa22 + 48e2e53 commit 0f26f9b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

ext/phar/phar_object.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public function getPath() {}
298298
* @return mixed
299299
* @implementation-alias Phar::getMetadata
300300
*/
301-
public function getMetadata(array $unserialize_options = []) {}
301+
public function getMetadata(array $unserializeOptions = []) {}
302302

303303
/**
304304
* @return bool

ext/phar/phar_object_arginfo.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 05d4689eb65b244c41c68c13ff39feca6a79a7e1 */
2+
* Stub hash: 3575a0330ff6102461655bc84add44e8b08b585f */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
@@ -254,9 +254,7 @@ ZEND_END_ARG_INFO()
254254

255255
#define arginfo_class_PharData_getPath arginfo_class_Phar___destruct
256256

257-
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PharData_getMetadata, 0, 0, 0)
258-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, unserialize_options, IS_ARRAY, 0, "[]")
259-
ZEND_END_ARG_INFO()
257+
#define arginfo_class_PharData_getMetadata arginfo_class_Phar_getMetadata
260258

261259
#define arginfo_class_PharData_getModified arginfo_class_Phar___destruct
262260

0 commit comments

Comments
 (0)