@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | ++$this->nodeLevel; |
| 114 | 114 | |
| 115 | 115 | $nodeType = $node->getType(); |
| 116 | - $methodName = 'resolve' . str_replace('_', '', $nodeType); |
|
| 116 | + $methodName = 'resolve'.str_replace('_', '', $nodeType); |
|
| 117 | 117 | if (method_exists($this, $methodName)) { |
| 118 | 118 | $value = $this->$methodName($node); |
| 119 | 119 | } |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | protected function resolveScalarMagicConstMethod() |
| 143 | 143 | { |
| 144 | 144 | if ($this->context instanceof \ReflectionMethod) { |
| 145 | - $fullName = $this->context->getDeclaringClass()->getName() . '::' . $this->context->getShortName(); |
|
| 145 | + $fullName = $this->context->getDeclaringClass()->getName().'::'.$this->context->getShortName(); |
|
| 146 | 146 | |
| 147 | 147 | return $fullName; |
| 148 | 148 | } |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | $fileNamespace = new ReflectionFileNamespace($fileName, $namespaceName); |
| 237 | 237 | if ($fileNamespace->hasConstant($constantName)) { |
| 238 | 238 | $constantValue = $fileNamespace->getConstant($constantName); |
| 239 | - $constantName = $fileNamespace->getName() . '\\' . $constantName; |
|
| 239 | + $constantName = $fileNamespace->getName().'\\'.$constantName; |
|
| 240 | 240 | $isResolved = true; |
| 241 | 241 | } |
| 242 | 242 | } |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | } |
| 266 | 266 | |
| 267 | 267 | $this->isConstant = true; |
| 268 | - $this->constantName = (string)$node->class . '::' . $constantName; |
|
| 268 | + $this->constantName = (string) $node->class.'::'.$constantName; |
|
| 269 | 269 | |
| 270 | 270 | return $refClass->getConstant($constantName); |
| 271 | 271 | } |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | |
| 345 | 345 | protected function resolveExprBinaryOpConcat(Expr\BinaryOp\Concat $node) |
| 346 | 346 | { |
| 347 | - return $this->resolve($node->left) . $this->resolve($node->right); |
|
| 347 | + return $this->resolve($node->left).$this->resolve($node->right); |
|
| 348 | 348 | } |
| 349 | 349 | |
| 350 | 350 | protected function resolveExprTernary(Expr\Ternary $node) |