diff --git a/tests/PsalmPluginTest.php b/tests/PsalmPluginTest.php index 64311a301..5b97dc231 100644 --- a/tests/PsalmPluginTest.php +++ b/tests/PsalmPluginTest.php @@ -25,9 +25,9 @@ class PsalmPluginTest extends TestCase { use MockeryPHPUnitIntegration; - private PluginList&MockInterface $plugin_list; + private MockInterface $plugin_list; - private PluginListFactory&MockInterface $plugin_list_factory; + private MockInterface $plugin_list_factory; private Application $app; diff --git a/tests/TestConfig.php b/tests/TestConfig.php index a41360eab..3e40764af 100644 --- a/tests/TestConfig.php +++ b/tests/TestConfig.php @@ -61,10 +61,7 @@ class TestConfig extends Config '; } - /** - * @return false - */ - public function getComposerFilePathForClassLike(string $fq_classlike_name): bool + public function getComposerFilePathForClassLike(string $fq_classlike_name): false { return false; }