@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | protected function resolveScalarMagicConstMethod(): string |
155 | 155 | { |
156 | 156 | if ($this->context instanceof ReflectionMethod) { |
157 | - $fullName = $this->context->getDeclaringClass()->name . '::' . $this->context->getShortName(); |
|
157 | + $fullName = $this->context->getDeclaringClass()->name.'::'.$this->context->getShortName(); |
|
158 | 158 | |
159 | 159 | return $fullName; |
160 | 160 | } |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | $fileNamespace = new ReflectionFileNamespace($fileName, $namespaceName); |
246 | 246 | if ($fileNamespace->hasConstant($constantName)) { |
247 | 247 | $constantValue = $fileNamespace->getConstant($constantName); |
248 | - $constantName = $fileNamespace->getName() . '\\' . $constantName; |
|
248 | + $constantName = $fileNamespace->getName().'\\'.$constantName; |
|
249 | 249 | $isResolved = true; |
250 | 250 | } |
251 | 251 | } |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | $reason = 'Unable'; |
272 | 272 | if ($classToReflect instanceof Expr) { |
273 | 273 | $methodName = $this->getDispatchMethodFor($classToReflect); |
274 | - $reason = "Method " . __CLASS__ . "::{$methodName}() not found trying"; |
|
274 | + $reason = "Method ".__CLASS__."::{$methodName}() not found trying"; |
|
275 | 275 | } |
276 | 276 | throw new ReflectionException("$reason to resolve class constant."); |
277 | 277 | } |
@@ -302,14 +302,14 @@ discard block |
||
302 | 302 | |
303 | 303 | if ($isFromParam) { |
304 | 304 | $this->isConstant = true; |
305 | - $this->constantName = $node->class . '::' . $constantName; |
|
305 | + $this->constantName = $node->class.'::'.$constantName; |
|
306 | 306 | |
307 | 307 | return $this->constantName; |
308 | 308 | } |
309 | 309 | } |
310 | 310 | |
311 | 311 | $this->isConstant = true; |
312 | - $this->constantName = $classToReflect . '::' . $constantName; |
|
312 | + $this->constantName = $classToReflect.'::'.$constantName; |
|
313 | 313 | |
314 | 314 | return $refClass->getConstant($constantName) ?? $this->constantName; |
315 | 315 | } |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | |
394 | 394 | protected function resolveExprBinaryOpConcat(Expr\BinaryOp\Concat $node): string |
395 | 395 | { |
396 | - return $this->resolve($node->left) . $this->resolve($node->right); |
|
396 | + return $this->resolve($node->left).$this->resolve($node->right); |
|
397 | 397 | } |
398 | 398 | |
399 | 399 | protected function resolveExprTernary(Expr\Ternary $node) |
@@ -478,7 +478,7 @@ discard block |
||
478 | 478 | { |
479 | 479 | $nodeType = $node->getType(); |
480 | 480 | |
481 | - return 'resolve' . str_replace('_', '', $nodeType); |
|
481 | + return 'resolve'.str_replace('_', '', $nodeType); |
|
482 | 482 | } |
483 | 483 | |
484 | 484 | /** |