Skip to content

Commit d48c1a0

Browse files
committed
[ci-review] Rector Rectify
1 parent 13555ef commit d48c1a0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/NodeAnalyzer/TestsNodeAnalyzer.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ public function __construct(
3434

3535
public function isInTestClass(Node $node): bool
3636
{
37-
if ($node instanceof MethodCall && (! $node->var instanceof Variable || ! $this->nodeNameResolver->isNames($node->var, ['this', 'self']))) {
37+
if ($node instanceof MethodCall && (! $node->var instanceof Variable || ! $this->nodeNameResolver->isNames(
38+
$node->var,
39+
['this', 'self']
40+
))) {
3841
$classReflection = $this->reflectionResolver->resolveClassReflectionSourceObject($node);
3942
} else {
4043
$classReflection = $this->reflectionResolver->resolveClassReflection($node);

0 commit comments

Comments
 (0)