diff --git a/tests/Mockery/Generator/StringManipulation/Pass/ClassAttributesPassTest.php b/tests/Mockery/Generator/StringManipulation/Pass/ClassAttributesPassTest.php index 1465031b5..7ee5b13ff 100644 --- a/tests/Mockery/Generator/StringManipulation/Pass/ClassAttributesPassTest.php +++ b/tests/Mockery/Generator/StringManipulation/Pass/ClassAttributesPassTest.php @@ -44,7 +44,7 @@ public function testCanApplyClassAttributes( } /** @see testCanApplyClassAttributes */ - public function providerCanApplyClassAttributes(): Generator + public static function providerCanApplyClassAttributes(): Generator { yield 'has no attributes' => [ 'attributes' => [],