diff --git a/ext/phar/phar_object.stub.php b/ext/phar/phar_object.stub.php index 16d54c2516b..bfff7f664c5 100644 --- a/ext/phar/phar_object.stub.php +++ b/ext/phar/phar_object.stub.php @@ -46,7 +46,7 @@ class Phar extends RecursiveDirectoryIterator implements Countable, ArrayAccess public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = null): ?PharData {} /** @return bool */ - public function copy(string $to, string $from) {} // TODO make return type void + public function copy(string $from, string $to) {} // TODO make return type void /** @tentative-return-type */ public function count(int $mode = COUNT_NORMAL): int {} @@ -261,7 +261,7 @@ class PharData extends RecursiveDirectoryIterator implements Countable, ArrayAcc * @return bool * @implementation-alias Phar::copy */ - public function copy(string $to, string $from) {} // TODO make return type void + public function copy(string $from, string $to) {} // TODO make return type void /** * @tentative-return-type diff --git a/ext/phar/phar_object_arginfo.h b/ext/phar/phar_object_arginfo.h index a7479e211e7..0ae18a169be 100644 --- a/ext/phar/phar_object_arginfo.h +++ b/ext/phar/phar_object_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: ddb04eb0a40f19ad06cb351e545895a8dd58fece */ + * Stub hash: cce88c2e27bd0b0fc7f68defdb0556b053e7dc81 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___construct, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) @@ -62,8 +62,8 @@ ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_Phar_convertToDat ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar_copy, 0, 0, 2) - ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0) ZEND_ARG_TYPE_INFO(0, from, IS_STRING, 0) + ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_count, 0, 0, IS_LONG, 0)