Fix CS error

This commit is contained in:
Eduard Barnáš 2018-03-17 14:53:55 +01:00
parent ac48a16d83
commit 9cc739aef6

View File

@ -54,7 +54,10 @@ final class ReplaceCreateMethodWithoutReviewerRector extends AbstractRector
return false;
}
return (! $this->methodArgumentAnalyzer->hasMethodSecondArgument($node) || $this->methodArgumentAnalyzer->isMethodSecondArgumentNull($node));
return (
! $this->methodArgumentAnalyzer->hasMethodSecondArgument($node)
|| $this->methodArgumentAnalyzer->isMethodSecondArgumentNull($node)
);
}
public function refactor(Node $node): ?Node