@@ -50,7 +50,7 @@ public function testGetopt(): void
5050
5151 /** @param array<string, bool|string>|false $getopt */
5252 #[DataProvider('highlightParamsProvider ' )]
53- public function testRunHighlight ($ getopt , string $ output , int $ result ): void
53+ public function testRunHighlight (array | false $ getopt , string $ output , int $ result ): void
5454 {
5555 $ cli = $ this ->getCLI ($ getopt );
5656 $ this ->expectOutputString ($ output );
@@ -122,7 +122,7 @@ public static function highlightParamsProvider(): array
122122
123123 /** @param array<string, bool|string>|false $getopt */
124124 #[DataProvider('highlightParamsStdInProvider ' )]
125- public function testRunHighlightStdIn (string $ input , $ getopt , string $ output , int $ result ): void
125+ public function testRunHighlightStdIn (string $ input , array | false $ getopt , string $ output , int $ result ): void
126126 {
127127 $ cli = $ this ->getCLIStdIn ($ input , $ getopt );
128128 $ this ->expectOutputString ($ output );
@@ -187,7 +187,7 @@ public static function highlightParamsStdInProvider(): array
187187
188188 /** @param array<string, bool|string>|false $getopt */
189189 #[DataProvider('lintParamsStdInProvider ' )]
190- public function testRunLintFromStdIn (string $ input , $ getopt , string $ output , int $ result ): void
190+ public function testRunLintFromStdIn (string $ input , array | false $ getopt , string $ output , int $ result ): void
191191 {
192192 $ cli = $ this ->getCLIStdIn ($ input , $ getopt );
193193 $ this ->expectOutputString ($ output );
@@ -249,7 +249,7 @@ public static function lintParamsStdInProvider(): array
249249
250250 /** @param array<string, bool|string>|false $getopt */
251251 #[DataProvider('lintParamsProvider ' )]
252- public function testRunLint ($ getopt , string $ output , int $ result ): void
252+ public function testRunLint (array | false $ getopt , string $ output , int $ result ): void
253253 {
254254 $ cli = $ this ->getCLI ($ getopt );
255255 $ this ->expectOutputString ($ output );
@@ -313,7 +313,7 @@ public static function lintParamsProvider(): array
313313
314314 /** @param array<string, bool|string>|false $getopt */
315315 #[DataProvider('tokenizeParamsProvider ' )]
316- public function testRunTokenize ($ getopt , string $ output , int $ result ): void
316+ public function testRunTokenize (array | false $ getopt , string $ output , int $ result ): void
317317 {
318318 $ cli = $ this ->getCLI ($ getopt );
319319 $ this ->expectOutputString ($ output );
@@ -365,7 +365,7 @@ public static function tokenizeParamsProvider(): array
365365
366366 /** @param array<string, bool|string>|false $getopt */
367367 #[DataProvider('tokenizeParamsStdInProvider ' )]
368- public function testRunTokenizeStdIn (string $ input , $ getopt , string $ output , int $ result ): void
368+ public function testRunTokenizeStdIn (string $ input , array | false $ getopt , string $ output , int $ result ): void
369369 {
370370 $ cli = $ this ->getCLIStdIn ($ input , $ getopt );
371371 $ this ->expectOutputString ($ output );
0 commit comments