@@ -29,7 +29,7 @@ |
||
29 | 29 | private function stopWatch(float $script_start): float |
30 | 30 | { |
31 | 31 | list($usec, $sec) = explode(' ', microtime()); |
32 | - $script_end = (float) $sec + (float) $usec; |
|
32 | + $script_end = (float)$sec + (float)$usec; |
|
33 | 33 | |
34 | 34 | return round($script_end - $script_start, 5); |
35 | 35 | } |
@@ -38,12 +38,12 @@ |
||
38 | 38 | |
39 | 39 | private function configureEvents(EventDispatcherInterface $eventDispatcher): void |
40 | 40 | { |
41 | - $this->listNodeProcessor[UseUse::class] = static function (Node $node) use ($eventDispatcher) { |
|
41 | + $this->listNodeProcessor[UseUse::class] = static function(Node $node) use ($eventDispatcher) { |
|
42 | 42 | /** @var UseUse $node */ |
43 | 43 | return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->name->toCodeString())); |
44 | 44 | }; |
45 | 45 | |
46 | - $this->listNodeProcessor[FullyQualified::class] = static function (Node $node) use ($eventDispatcher) { |
|
46 | + $this->listNodeProcessor[FullyQualified::class] = static function(Node $node) use ($eventDispatcher) { |
|
47 | 47 | /** @var FullyQualified $node */ |
48 | 48 | return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString())); |
49 | 49 | }; |