Skip to content

Commit 86e3576

Browse files
committed
Fix PHPStan errors in unit tests
1 parent f505781 commit 86e3576

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/bitExpert/PHPStan/Magento/Rules/AbstractModelRetrieveCollectionViaFactoryRuleUnitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AbstractModelRetrieveCollectionViaFactoryRuleUnitTest extends RuleTestCase
2323
{
2424
protected function getRule(): Rule
2525
{
26-
return new AbstractModelRetrieveCollectionViaFactoryRule(true);
26+
return new AbstractModelRetrieveCollectionViaFactoryRule();
2727
}
2828

2929
/**

tests/bitExpert/PHPStan/Magento/Rules/AbstractModelUseServiceContractRuleUnitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AbstractModelUseServiceContractRuleUnitTest extends RuleTestCase
2323
{
2424
protected function getRule(): Rule
2525
{
26-
return new AbstractModelUseServiceContractRule(true);
26+
return new AbstractModelUseServiceContractRule();
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)