@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | protected function resolveScalarMagicConstMethod(): string |
159 | 159 | { |
160 | 160 | if ($this->context instanceof ReflectionMethod) { |
161 | - $fullName = $this->context->getDeclaringClass()->name . '::' . $this->context->getShortName(); |
|
161 | + $fullName = $this->context->getDeclaringClass()->name.'::'.$this->context->getShortName(); |
|
162 | 162 | |
163 | 163 | return $fullName; |
164 | 164 | } |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | $fileNamespace = new ReflectionFileNamespace($fileName, $namespaceName); |
250 | 250 | if ($fileNamespace->hasConstant($constantName)) { |
251 | 251 | $constantValue = $fileNamespace->getConstant($constantName); |
252 | - $constantName = $fileNamespace->getName() . '\\' . $constantName; |
|
252 | + $constantName = $fileNamespace->getName().'\\'.$constantName; |
|
253 | 253 | $isResolved = true; |
254 | 254 | } |
255 | 255 | } |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | $reason = 'Unable'; |
276 | 276 | if ($classToReflect instanceof Expr) { |
277 | 277 | $methodName = $this->getDispatchMethodFor($classToReflect); |
278 | - $reason = "Method " . __CLASS__ . "::{$methodName}() not found trying"; |
|
278 | + $reason = "Method ".__CLASS__."::{$methodName}() not found trying"; |
|
279 | 279 | } |
280 | 280 | throw new ReflectionException("$reason to resolve class constant."); |
281 | 281 | } |
@@ -293,13 +293,13 @@ discard block |
||
293 | 293 | |
294 | 294 | if ($node->class instanceof Name && $node->class->isSpecialClassName() && $this->isParameter) { |
295 | 295 | $this->isConstant = true; |
296 | - $this->constantName = $node->class . '::' . $constantName; |
|
296 | + $this->constantName = $node->class.'::'.$constantName; |
|
297 | 297 | |
298 | 298 | return $this->constantName; |
299 | 299 | } |
300 | 300 | |
301 | 301 | $this->isConstant = true; |
302 | - $this->constantName = $classToReflect . '::' . $constantName; |
|
302 | + $this->constantName = $classToReflect.'::'.$constantName; |
|
303 | 303 | |
304 | 304 | return $refClass->getConstant($constantName); |
305 | 305 | } |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | return $printer->prettyPrintExpr($node); |
389 | 389 | } |
390 | 390 | |
391 | - return $this->resolve($node->left) . $this->resolve($node->right); |
|
391 | + return $this->resolve($node->left).$this->resolve($node->right); |
|
392 | 392 | } |
393 | 393 | |
394 | 394 | protected function resolveExprTernary(Expr\Ternary $node) |
@@ -473,7 +473,7 @@ discard block |
||
473 | 473 | { |
474 | 474 | $nodeType = $node->getType(); |
475 | 475 | |
476 | - return 'resolve' . str_replace('_', '', $nodeType); |
|
476 | + return 'resolve'.str_replace('_', '', $nodeType); |
|
477 | 477 | } |
478 | 478 | |
479 | 479 | /** |