@@ -59,12 +59,12 @@ |
||
| 59 | 59 | $this->matchKey = new BooleanMatchKey(); |
| 60 | 60 | $this->matchValue = new BooleanMatchValue(); |
| 61 | 61 | |
| 62 | - $this->listNodeProcessor[UseUse::class] = static function (Node $node): string { |
|
| 62 | + $this->listNodeProcessor[UseUse::class] = static function(Node $node): string { |
|
| 63 | 63 | /** @var UseUse $node*/ |
| 64 | 64 | return $node->name->toCodeString(); |
| 65 | 65 | }; |
| 66 | 66 | |
| 67 | - $this->listNodeProcessor[FullyQualified::class] = static function (Node $node): string { |
|
| 67 | + $this->listNodeProcessor[FullyQualified::class] = static function(Node $node): string { |
|
| 68 | 68 | /** @var FullyQualified $node*/ |
| 69 | 69 | return $node->toCodeString(); |
| 70 | 70 | }; |
@@ -23,13 +23,13 @@ |
||
| 23 | 23 | private function startWatch(): float |
| 24 | 24 | { |
| 25 | 25 | list($usec, $sec) = explode(' ', microtime()); |
| 26 | - return (float) $sec + (float) $usec; |
|
| 26 | + return (float)$sec + (float)$usec; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 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 | } |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | { |
| 92 | 92 | $db = new DbKeyValue(); |
| 93 | 93 | foreach ($collections as $key => $value) { |
| 94 | - $db->add((string) $key, (string) $value); |
|
| 94 | + $db->add((string)$key, (string)$value); |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | return $db; |