@@ -59,13 +59,13 @@ discard block |
||
| 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 | |
| 64 | 64 | /** @var UseUse $node*/ |
| 65 | 65 | return $node->name->toCodeString(); |
| 66 | 66 | }; |
| 67 | 67 | |
| 68 | - $this->listNodeProcessor[FullyQualified::class] = static function (Node $node): string { |
|
| 68 | + $this->listNodeProcessor[FullyQualified::class] = static function(Node $node): string { |
|
| 69 | 69 | |
| 70 | 70 | /** @var FullyQualified $node*/ |
| 71 | 71 | return $node->toCodeString(); |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | |
| 161 | 161 | private function pushError(Entry $val, Node $node): void |
| 162 | 162 | { |
| 163 | - $err = new ErrorResult($node->getLine(),$val->get(). \PHP_EOL, self::ERR); |
|
| 163 | + $err = new ErrorResult($node->getLine(), $val->get() . \PHP_EOL, self::ERR); |
|
| 164 | 164 | $this->resultCollector->addResult($err); |
| 165 | 165 | } |
| 166 | 166 | |
@@ -17,16 +17,16 @@ |
||
| 17 | 17 | private $use; |
| 18 | 18 | |
| 19 | 19 | |
| 20 | - public function __construct(int $line, string $use,int $type) |
|
| 20 | + public function __construct(int $line, string $use, int $type) |
|
| 21 | 21 | { |
| 22 | - $this->line = $line; |
|
| 22 | + $this->line = $line; |
|
| 23 | 23 | $this->use = $use; |
| 24 | 24 | $this->type = $type; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function get(): String |
| 28 | 28 | { |
| 29 | - return \Safe\sprintf("\t > ERROR Line: %d of use %s ",$this->line,$this->use); |
|
| 29 | + return \Safe\sprintf("\t > ERROR Line: %d of use %s ", $this->line, $this->use); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | public function getType(): int |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | { |
| 7 | 7 | |
| 8 | 8 | /** @var array<ResultInterface> */ |
| 9 | - private $listResult ; |
|
| 9 | + private $listResult; |
|
| 10 | 10 | |
| 11 | 11 | public function __construct() |
| 12 | 12 | { |