mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
tidy::repairFile() and ::repairString() return string|false
This commit is contained in:
parent
5b3809e942
commit
44ccccdfb8
2 changed files with 3 additions and 3 deletions
|
@ -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) {}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue