tidy::repairFile() and ::repairString() return string|false

This commit is contained in:
Christoph M. Becker 2020-11-30 00:24:15 +01:00
parent 5b3809e942
commit 44ccccdfb8
2 changed files with 3 additions and 3 deletions

View file

@ -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) {}

View file

@ -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)