diff --git a/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeFromPropertyTypeRector.php b/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeFromPropertyTypeRector.php index 9b99cd53fd..82eecff300 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeFromPropertyTypeRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeFromPropertyTypeRector.php @@ -32,7 +32,7 @@ final class AddParamTypeFromPropertyTypeRector extends AbstractRector implements /** * @var string */ - private const ERROR_MESSAGE = 'Adds param type declaration based on property type the value is assigned to PHPUnit provider return type declaration'; + private const ERROR_MESSAGE = 'Add param type declaration based on property type'; public function __construct( private readonly PropertyFetchAnalyzer $propertyFetchAnalyzer,