Skip to content

Commit c04388e

Browse files
github-actionsgithub-actions[bot]
authored andcommitted
style(php-cs-fixer): fix coding standards
1 parent 95962aa commit c04388e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/fixtures/CallbackWithDNFTypehintClass.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
namespace React\Promise;
44

5-
use Countable;
6-
use RuntimeException;
7-
85
class CallbackWithDNFTypehintClass
96
{
10-
public function __invoke((RuntimeException&Countable)|(RuntimeException&\IteratorAggregate) $e): void { }
7+
public static function testCallbackStatic((\RuntimeException&\Countable)|(\RuntimeException&\IteratorAggregate) $e): void {}
118

12-
public function testCallback((RuntimeException&Countable)|(RuntimeException&\IteratorAggregate) $e): void { }
9+
public function testCallback((\RuntimeException&\Countable)|(\RuntimeException&\IteratorAggregate) $e): void {}
1310

14-
public static function testCallbackStatic((RuntimeException&Countable)|(RuntimeException&\IteratorAggregate) $e): void { }
11+
public function __invoke((\RuntimeException&\Countable)|(\RuntimeException&\IteratorAggregate) $e): void {}
1512
}

0 commit comments

Comments
 (0)