File tree Expand file tree Collapse file tree 4 files changed +7
-43
lines changed Expand file tree Collapse file tree 4 files changed +7
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77
88class CallbackWithDNFTypehintClass
99{
10- #[PHP8 ] public function __invoke ((RuntimeException &Countable )|(RuntimeException &\IteratorAggregate ) $ e ): void { } /*
11- public function __invoke(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
10+ public function __invoke ((RuntimeException &Countable )|(RuntimeException &\IteratorAggregate ) $ e ): void { }
1211
13- #[PHP8 ] public function testCallback ((RuntimeException &Countable )|(RuntimeException &\IteratorAggregate ) $ e ): void { } /*
14- public function testCallback(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
12+ public function testCallback ((RuntimeException &Countable )|(RuntimeException &\IteratorAggregate ) $ e ): void { }
1513
16- #[PHP8 ] public static function testCallbackStatic ((RuntimeException &Countable )|(RuntimeException &\IteratorAggregate ) $ e ): void { }/*
17- public static function testCallbackStatic(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
14+ public static function testCallbackStatic ((RuntimeException &Countable )|(RuntimeException &\IteratorAggregate ) $ e ): void { }
1815}
Original file line number Diff line number Diff line change 66
77class CallbackWithIntersectionTypehintClass
88{
9- #[PHP8 ]
10- public static function testCallbackStatic (\RuntimeException &\Countable $ e ): void {}/*
11- public static function testCallbackStatic(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
9+ public static function testCallbackStatic (\RuntimeException &\Countable $ e ): void {}
1210
13- #[PHP8 ]
1411 public function testCallback (\RuntimeException &\Countable $ e ): void {}
1512
16- /*
17- public function testCallback(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
18- #[PHP8 ]
19- public function __invoke (\RuntimeException &\Countable $ e ): void {}/*
20- public function __invoke(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
13+ public function __invoke (\RuntimeException &\Countable $ e ): void {}
2114}
Original file line number Diff line number Diff line change 66
77class CallbackWithUnionTypehintClass
88{
9- #[PHP8 ]
10- public static function testCallbackStatic (\RuntimeException |\InvalidArgumentException $ e ): void {}/*
11- public static function testCallbackStatic(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
9+ public static function testCallbackStatic (\RuntimeException |\InvalidArgumentException $ e ): void {}
1210
13- #[PHP8 ]
1411 public function testCallback (\RuntimeException |\InvalidArgumentException $ e ): void {}
1512
16- /*
17- public function testCallback(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
18- #[PHP8 ]
19- public function __invoke (\RuntimeException |\InvalidArgumentException $ e ): void {}/*
20- public function __invoke(bool $unusedOnPhp8ButRequiredToMakePhpstanWorkOnLegacyPhp = true): void { } // */
13+ public function __invoke (\RuntimeException |\InvalidArgumentException $ e ): void {}
2114}
You can’t perform that action at this time.
0 commit comments