@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | protected function resolveScalarMagicConstMethod(): string |
158 | 158 | { |
159 | 159 | if ($this->context instanceof ReflectionMethod) { |
160 | - $fullName = $this->context->getDeclaringClass()->name . '::' . $this->context->getShortName(); |
|
160 | + $fullName = $this->context->getDeclaringClass()->name.'::'.$this->context->getShortName(); |
|
161 | 161 | |
162 | 162 | return $fullName; |
163 | 163 | } |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | $fileNamespace = new ReflectionFileNamespace($fileName, $namespaceName); |
249 | 249 | if ($fileNamespace->hasConstant($constantName)) { |
250 | 250 | $constantValue = $fileNamespace->getConstant($constantName); |
251 | - $constantName = $fileNamespace->getName() . '\\' . $constantName; |
|
251 | + $constantName = $fileNamespace->getName().'\\'.$constantName; |
|
252 | 252 | $isResolved = true; |
253 | 253 | } |
254 | 254 | } |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | $reason = 'Unable'; |
275 | 275 | if ($classToReflect instanceof Expr) { |
276 | 276 | $methodName = $this->getDispatchMethodFor($classToReflect); |
277 | - $reason = "Method " . __CLASS__ . "::{$methodName}() not found trying"; |
|
277 | + $reason = "Method ".__CLASS__."::{$methodName}() not found trying"; |
|
278 | 278 | } |
279 | 279 | throw new ReflectionException("$reason to resolve class constant."); |
280 | 280 | } |
@@ -292,13 +292,13 @@ discard block |
||
292 | 292 | |
293 | 293 | if ($node->class instanceof Name && $node->class->isSpecialClassName() && $this->isParameter) { |
294 | 294 | $this->isConstant = true; |
295 | - $this->constantName = $node->class . '::' . $constantName; |
|
295 | + $this->constantName = $node->class.'::'.$constantName; |
|
296 | 296 | |
297 | 297 | return $this->constantName; |
298 | 298 | } |
299 | 299 | |
300 | 300 | $this->isConstant = true; |
301 | - $this->constantName = $classToReflect . '::' . $constantName; |
|
301 | + $this->constantName = $classToReflect.'::'.$constantName; |
|
302 | 302 | |
303 | 303 | return $refClass->getConstant($constantName) ?? $this->constantName; |
304 | 304 | } |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | |
383 | 383 | protected function resolveExprBinaryOpConcat(Expr\BinaryOp\Concat $node): string |
384 | 384 | { |
385 | - return $this->resolve($node->left) . $this->resolve($node->right); |
|
385 | + return $this->resolve($node->left).$this->resolve($node->right); |
|
386 | 386 | } |
387 | 387 | |
388 | 388 | protected function resolveExprTernary(Expr\Ternary $node) |
@@ -467,7 +467,7 @@ discard block |
||
467 | 467 | { |
468 | 468 | $nodeType = $node->getType(); |
469 | 469 | |
470 | - return 'resolve' . str_replace('_', '', $nodeType); |
|
470 | + return 'resolve'.str_replace('_', '', $nodeType); |
|
471 | 471 | } |
472 | 472 | |
473 | 473 | /** |