Skip to content

Commit 051892c

Browse files
committed
[TASK] Simplify condition if in FunctionalTestCase class
1 parent f85d916 commit 051892c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rule/ContainerInterfacePrivateServiceRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private function shouldSkip(MethodCall $node, Scope $scope): bool
6060
$isPsrContainerType = (new ObjectType('Psr\Container\ContainerInterface'))->isSuperTypeOf($argType);
6161
$isTestCaseType = (new ObjectType('TYPO3\TestingFramework\Core\Functional\FunctionalTestCase'))->isSuperTypeOf($argType);
6262

63-
if ($isPsrContainerType->yes() && $isTestCaseType->yes()) {
63+
if ($isTestCaseType->yes()) {
6464
return true;
6565
}
6666

0 commit comments

Comments
 (0)