@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function match($value): bool |
43 | 43 | { |
44 | - return (bool)($this->matcher)($value); |
|
44 | + return (bool) ($this->matcher)($value); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * @param TypeInterface|null $type |
129 | 129 | * @return VarSymbolInterface |
130 | 130 | */ |
131 | - public function declare(string $var, TypeInterface $type = null): VarSymbolInterface |
|
131 | + public function declare(string$var,TypeInterface$type=null): VarSymbolInterface |
|
132 | 132 | { |
133 | 133 | if ($this->has($var)) { |
134 | 134 | $error = 'Can not define var $%s, because %s already has been defined'; |
@@ -176,6 +176,6 @@ discard block |
||
176 | 176 | */ |
177 | 177 | public function __toString(): string |
178 | 178 | { |
179 | - return $this->getName()->getFullyQualifiedName() . ' (' . $this->getFile()->getPathname() .')'; |
|
179 | + return $this->getName()->getFullyQualifiedName().' ('.$this->getFile()->getPathname().')'; |
|
180 | 180 | } |
181 | 181 | } |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | */ |
22 | 22 | public function __construct() |
23 | 23 | { |
24 | - parent::__construct(function (TypeNameInterface $name, iterable $arguments) { |
|
24 | + parent::__construct(function(TypeNameInterface $name, iterable $arguments) { |
|
25 | 25 | return $this->format($name, $arguments); |
26 | 26 | }); |
27 | 27 | } |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | */ |
34 | 34 | private function format(TypeNameInterface $name, iterable $arguments): string |
35 | 35 | { |
36 | - echo \str_repeat('-', 100) . "\n"; |
|
37 | - echo $name . " "; |
|
36 | + echo \str_repeat('-', 100)."\n"; |
|
37 | + echo $name." "; |
|
38 | 38 | \dump($arguments); |
39 | 39 | |
40 | 40 | return $this->formatName($name); |