Skip to content

Commit

Permalink
tidy::repairFile() and ::repairString() return string|false
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Nov 29, 2020
1 parent 5b3809e commit 44ccccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ext/tidy/tidy.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ public function parseFile(string $filename, array|string|null $config = null, ?s
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) {}
Expand Down
2 changes: 1 addition & 1 deletion ext/tidy/tidy_arginfo.h
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 44ccccd

Please sign in to comment.