@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * Nullable types are either explicitly ?type (PHP>=7.1) or with a default value of null |
14 | 14 | */ |
15 | - const NULLABLE = 0x02; |
|
15 | + const NULLABLE = 0x02; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Reference types must always match |
@@ -57,7 +57,7 @@ |
||
57 | 57 | public function __toString() |
58 | 58 | { |
59 | 59 | return $this->isNullable |
60 | - ? '?' . $this->typeName |
|
60 | + ? '?'.$this->typeName |
|
61 | 61 | : $this->typeName; |
62 | 62 | } |
63 | 63 | } |
@@ -171,17 +171,17 @@ |
||
171 | 171 | } |
172 | 172 | |
173 | 173 | if (isset($this->parameters[$l])) { |
174 | - $string .= $this->parameters[$i] . ' '; |
|
174 | + $string .= $this->parameters[$i].' '; |
|
175 | 175 | } |
176 | 176 | |
177 | 177 | if ($o) { |
178 | - $string .= str_repeat(']', $o) . ' '; |
|
178 | + $string .= str_repeat(']', $o).' '; |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | $string .= ')'; |
182 | 182 | |
183 | 183 | if ($this->returnType->typeName !== null) { |
184 | - $string .= ' : ' . $this->returnType; |
|
184 | + $string .= ' : '.$this->returnType; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | return $string; |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | $string .= '?'; |
112 | 112 | } |
113 | 113 | |
114 | - $string .= $this->typeName . ' '; |
|
114 | + $string .= $this->typeName.' '; |
|
115 | 115 | } |
116 | 116 | |
117 | 117 | if ($this->isByReference) { |
@@ -122,6 +122,6 @@ discard block |
||
122 | 122 | $string .= '...'; |
123 | 123 | } |
124 | 124 | |
125 | - return $string . '$' . $this->parameterName; |
|
125 | + return $string.'$'.$this->parameterName; |
|
126 | 126 | } |
127 | 127 | } |