@@ -7,15 +7,15 @@ |
||
7 | 7 | use Attribute; |
8 | 8 | use WyriHaximus\React\PHPUnit\TimeOutInterface; |
9 | 9 | |
10 | -#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_CLASS)] |
|
10 | +#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_CLASS) ] |
|
11 | 11 | final readonly class TimeOut implements TimeOutInterface |
12 | 12 | { |
13 | 13 | public function __construct( |
14 | - public int|float $timeout, |
|
14 | + public int | float $timeout, |
|
15 | 15 | ) { |
16 | 16 | } |
17 | 17 | |
18 | - public function timeout(): int|float |
|
18 | + public function timeout(): int | float |
|
19 | 19 | { |
20 | 20 | return $this->timeout; |
21 | 21 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | use RunTestsInFibersTrait; |
14 | 14 | |
15 | - private const INVOKE_ARRAY = ['__invoke']; |
|
15 | + private const INVOKE_ARRAY = [ '__invoke' ]; |
|
16 | 16 | |
17 | 17 | /** @deprecated With the move to fibers there is no need for these rarely used methods anymore. (Unless proven otherwise of course.) */ |
18 | 18 | final protected function expectCallableExactly(int $amount): callable |