From 712bbcb9a892a35af2d0906888a60b226d9c54ca Mon Sep 17 00:00:00 2001 From: Simon Schaufelberger Date: Sun, 18 May 2025 23:18:10 +0200 Subject: [PATCH] Use active voice and remove note about PHPUnit --- .../Rector/ClassMethod/AddParamTypeFromPropertyTypeRector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeFromPropertyTypeRector.php b/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeFromPropertyTypeRector.php index 9b99cd53fd3..82eecff300e 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,