]> granicus.if.org Git - php/commitdiff
Fix arginfo of tidy_repair_string()
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 22 Sep 2019 14:31:19 +0000 (16:31 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 22 Sep 2019 14:31:48 +0000 (16:31 +0200)
Cf. 5356bad8c66d9df437c5136d02f6654a5b56b2b9.

ext/tidy/tidy.stub.php
ext/tidy/tidy_arginfo.h

index 3add15a28239e1a802ee8a61e95be03a6c159240..b2d36f96c4036150cf53161dd0d7958ed015f765 100644 (file)
@@ -23,7 +23,7 @@ function tidy_clean_repair(tidy $object): bool {}
  * @param array|string $config_options
  * @return string|false
  */
-function tidy_repair_string(string $data, $config_file = UNKNOWN, string $encoding = UNKNOWN, bool $use_include_path = false) {}
+function tidy_repair_string(string $data, $config_file = UNKNOWN, string $encoding = UNKNOWN) {}
 
 /**
  * @param array|string $config_options
index d1643c1e7016a017673cef4fc4d8059e76069d4d..2b0335e970e09386b0d0883154288e8c833752b9 100644 (file)
@@ -29,7 +29,6 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_tidy_repair_string, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
        ZEND_ARG_INFO(0, config_file)
        ZEND_ARG_TYPE_INFO(0, encoding, IS_STRING, 0)
-       ZEND_ARG_TYPE_INFO(0, use_include_path, _IS_BOOL, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_tidy_repair_file, 0, 0, 1)