@@ -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 | } |
@@ -43,12 +43,12 @@ |
||
| 43 | 43 | $listener->addEventListener(FoundUseNamespace::class, $callableUseStatement); |
| 44 | 44 | $dispatcher = new EventDispatcher($listener); |
| 45 | 45 | |
| 46 | - $this->listNodeProcessor[UseUse::class] = static function (Node $node) use ($dispatcher) { |
|
| 46 | + $this->listNodeProcessor[UseUse::class] = static function(Node $node) use ($dispatcher) { |
|
| 47 | 47 | /** @var UseUse $node */ |
| 48 | 48 | return $dispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->name->toCodeString())); |
| 49 | 49 | }; |
| 50 | 50 | |
| 51 | - $this->listNodeProcessor[FullyQualified::class] = static function (Node $node) use ($dispatcher) { |
|
| 51 | + $this->listNodeProcessor[FullyQualified::class] = static function(Node $node) use ($dispatcher) { |
|
| 52 | 52 | /** @var FullyQualified $node */ |
| 53 | 53 | return $dispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString())); |
| 54 | 54 | }; |