diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-13 20:03:00 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-16 10:56:33 +0200 |
commit | d6264b09665c20ee73d7a1017db0730f9a7c7973 (patch) | |
tree | bb465d70db16df73ce28bcc1fadab1a57dd92c02 /ext/tidy/tidy.stub.php | |
parent | 3841ea338ef2508d467efef9ec45d03162ba695d (diff) | |
download | php-git-d6264b09665c20ee73d7a1017db0730f9a7c7973.tar.gz |
Verify parameter names of function aliases
Closes GH-6335
Diffstat (limited to 'ext/tidy/tidy.stub.php')
-rw-r--r-- | ext/tidy/tidy.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tidy/tidy.stub.php b/ext/tidy/tidy.stub.php index 847a782a7d..8b55c6b148 100644 --- a/ext/tidy/tidy.stub.php +++ b/ext/tidy/tidy.stub.php @@ -78,13 +78,13 @@ class tidy * @return bool * @alias tidy_repair_string */ - public function repairString(string $string, array|string|null $config = null, ?string $encoding = null) {} + public static function repairString(string $string, array|string|null $config = null, ?string $encoding = null) {} /** * @return bool * @alias tidy_repair_file */ - public function repairFile(string $filename, array|string|null $config = null, ?string $encoding = null, bool $useIncludePath = false) {} + public static function repairFile(string $filename, array|string|null $config = null, ?string $encoding = null, bool $useIncludePath = false) {} /** * @return bool |