diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-11-30 00:24:15 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-11-30 00:29:10 +0100 |
commit | 44ccccdfb87a0d1de5f70866ac5b3e00dfbe8498 (patch) | |
tree | 74308bbdcc79e3aeb2077add8afc678ca42fa144 | |
parent | 5b3809e942af573ac4c793cb6b0d9e2966c32e4e (diff) | |
download | php-git-44ccccdfb87a0d1de5f70866ac5b3e00dfbe8498.tar.gz |
tidy::repairFile() and ::repairString() return string|false
-rw-r--r-- | ext/tidy/tidy.stub.php | 4 | ||||
-rw-r--r-- | ext/tidy/tidy_arginfo.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/tidy/tidy.stub.php b/ext/tidy/tidy.stub.php index 8b55c6b148..4030fa954d 100644 --- a/ext/tidy/tidy.stub.php +++ b/ext/tidy/tidy.stub.php @@ -75,13 +75,13 @@ class tidy public function parseString(string $string, array|string|null $config = null, ?string $encoding = null) {} /** - * @return bool + * @return string|false * @alias tidy_repair_string */ public static function repairString(string $string, array|string|null $config = null, ?string $encoding = null) {} /** - * @return bool + * @return string|false * @alias tidy_repair_file */ public static function repairFile(string $filename, array|string|null $config = null, ?string $encoding = null, bool $useIncludePath = false) {} diff --git a/ext/tidy/tidy_arginfo.h b/ext/tidy/tidy_arginfo.h index fc56a7f5cf..45f824865b 100644 --- a/ext/tidy/tidy_arginfo.h +++ b/ext/tidy/tidy_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 4042c33d3ea3f5fb87cfb696488f6280b6ec7e7f */ + * Stub hash: c4bbc901ca156da7cf0cbcc3c4019c7d3886959f */ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_tidy_parse_string, 0, 1, tidy, MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0) |