@@ -16,5 +16,5 @@ |
||
16 | 16 | * |
17 | 17 | * @return \ReflectionEnum[] |
18 | 18 | */ |
19 | - public function getScopedEnums(string $scope, object|string|null $target = null): array; |
|
19 | + public function getScopedEnums(string $scope, object | string | null $target = null): array; |
|
20 | 20 | } |
@@ -8,10 +8,10 @@ |
||
8 | 8 | { |
9 | 9 | public function __construct( |
10 | 10 | private readonly Tokenizer $tokenizer |
11 | - ) { |
|
11 | + ){ |
|
12 | 12 | } |
13 | 13 | |
14 | - public function getScopedEnums(string $scope, object|string|null $target = null): array |
|
14 | + public function getScopedEnums(string $scope, object | string | null $target = null): array |
|
15 | 15 | { |
16 | 16 | return $this->tokenizer->scopedEnumLocator($scope)->getEnums($target); |
17 | 17 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function invoke(TokenizationListenerInterface $listener, iterable $classes): void |
18 | 18 | { |
19 | - foreach ($classes as $class) { |
|
19 | + foreach ($classes as $class){ |
|
20 | 20 | $listener->listen($class); |
21 | 21 | } |
22 | 22 | } |
@@ -16,7 +16,8 @@ |
||
16 | 16 | */ |
17 | 17 | public function invoke(TokenizationListenerInterface $listener, iterable $classes): void |
18 | 18 | { |
19 | - foreach ($classes as $class) { |
|
19 | + foreach ($classes as $class) |
|
20 | + { |
|
20 | 21 | $listener->listen($class); |
21 | 22 | } |
22 | 23 | } |
@@ -21,5 +21,5 @@ |
||
21 | 21 | * results. |
22 | 22 | * @return array<class-string, ReflectionClass> |
23 | 23 | */ |
24 | - public function getInterfaces(string|null $target = null): array; |
|
24 | + public function getInterfaces(string | null $target = null): array; |
|
25 | 25 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | public function __construct( |
19 | 19 | private readonly InterfacesInterface $interfaces, |
20 | 20 | private readonly ScopedInterfacesInterface $scopedInterfaces, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -17,5 +17,5 @@ |
||
17 | 17 | * results. |
18 | 18 | * @return \ReflectionClass[] |
19 | 19 | */ |
20 | - public function getScopedInterfaces(string $scope, string|null $target = null): array; |
|
20 | + public function getScopedInterfaces(string $scope, string | null $target = null): array; |
|
21 | 21 | } |
@@ -8,10 +8,10 @@ |
||
8 | 8 | { |
9 | 9 | public function __construct( |
10 | 10 | private readonly Tokenizer $tokenizer |
11 | - ) { |
|
11 | + ){ |
|
12 | 12 | } |
13 | 13 | |
14 | - public function getScopedInterfaces(string $scope, string|null $target = null): array |
|
14 | + public function getScopedInterfaces(string $scope, string | null $target = null): array |
|
15 | 15 | { |
16 | 16 | return $this->tokenizer->scopedInterfaceLocator($scope)->getInterfaces($target); |
17 | 17 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | public function __construct( |
18 | 18 | private readonly Tokenizer $tokenizer |
19 | - ) { |
|
19 | + ){ |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -18,7 +18,7 @@ |
||
18 | 18 | private readonly InterfaceLocatorByTarget $locator, |
19 | 19 | ListenerInvoker $invoker, |
20 | 20 | bool $readCache = true, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | parent::__construct($reader, $memory, $invoker, $readCache); |
23 | 23 | } |
24 | 24 |