Skip to content

Commit 9bba9f6

Browse files
committed
Fix a few ext/phar return types
1 parent 2d47447 commit 9bba9f6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ext/phar/phar_object.stub.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function decompress(?string $extension = null) {}
4242
/** @return Phar|null */
4343
public function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension = null) {}
4444

45-
/** @return Phar|null */
45+
/** @return PharData|null */
4646
public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = null) {}
4747

4848
/** @return bool */
@@ -229,14 +229,16 @@ public function compressFiles(int $compression) {}
229229
public function decompressFiles() {}
230230

231231
/**
232-
* @return Phar|null
232+
* @return PharData|null
233233
* @implementation-alias Phar::compress
234+
* @no-verify
234235
*/
235236
public function compress(int $compression, ?string $extension = null) {}
236237

237238
/**
238-
* @return Phar|null
239+
* @return PharData|null
239240
* @implementation-alias Phar::decompress
241+
* @no-verify
240242
*/
241243
public function decompress(?string $extension = null) {}
242244

@@ -247,7 +249,7 @@ public function decompress(?string $extension = null) {}
247249
public function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension = null) {}
248250

249251
/**
250-
* @return Phar|null
252+
* @return PharData|null
251253
* @implementation-alias Phar::convertToData
252254
*/
253255
public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = null) {}

ext/phar/phar_object_arginfo.h

Lines changed: 1 addition & 1 deletion
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: a8562e63010e127aadb97134733ac328ced3c7bf */
2+
* Stub hash: 0973430f90bd972380a9c4434808e9857f703548 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)

0 commit comments

Comments
 (0)