Skip to content

Commit efbdd09

Browse files
committed
Narrow return type to true|int
1 parent e352068 commit efbdd09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/zip/php_zip.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ class ZipArchive implements Countable
646646
/** @tentative-return-type */
647647
public function open(string $filename, int $flags = 0): bool|int {}
648648

649-
public function openString(string $data): bool|int {}
649+
public function openString(string $data): true|int {}
650650

651651
/**
652652
* @tentative-return-type

ext/zip/php_zip_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)