From 773255a33776a978f3d7aa5e3aa917c100c47ca2 Mon Sep 17 00:00:00 2001 From: bjorn Date: Sun, 14 Jan 2024 16:21:07 +0100 Subject: [PATCH] Fix style --- .../Rector/Deprecation/ActionAnnotationToAttributeRector.php | 4 ++-- src/Rector/AbstractDrupalCoreRector.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Drupal10/Rector/Deprecation/ActionAnnotationToAttributeRector.php b/src/Drupal10/Rector/Deprecation/ActionAnnotationToAttributeRector.php index 50133cc3..93291603 100644 --- a/src/Drupal10/Rector/Deprecation/ActionAnnotationToAttributeRector.php +++ b/src/Drupal10/Rector/Deprecation/ActionAnnotationToAttributeRector.php @@ -25,7 +25,7 @@ use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover; use Rector\BetterPhpDocParser\PhpDocParser\StaticDoctrineAnnotationParser\ArrayParser; use Rector\Comments\NodeDocBlock\DocBlockUpdater; -use Rector\Core\ValueObject\PhpVersion; +use Rector\ValueObject\PhpVersion; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use RectorPrefix202310\PHPUnit\Framework\Attributes\Ticket; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; @@ -208,7 +208,7 @@ public function refactorWithConfiguration(Node $node, VersionedConfigurationInte /** * @param array|ArrayItemNode[] $parsedArgs * - * @return \PhpParser\Node\Attribute + * @return Attribute */ private function createAttribute(array $parsedArgs): Attribute { diff --git a/src/Rector/AbstractDrupalCoreRector.php b/src/Rector/AbstractDrupalCoreRector.php index 30db74ee..89ac7c5b 100644 --- a/src/Rector/AbstractDrupalCoreRector.php +++ b/src/Rector/AbstractDrupalCoreRector.php @@ -115,7 +115,7 @@ private function createBcCallOnCallLike(Node\Expr\CallLike $node, Node\Expr\Call } /** - * @param \DrupalRector\Contract\VersionedConfigurationInterface $configuration + * @param VersionedConfigurationInterface $configuration * * @return bool|int */ @@ -143,7 +143,7 @@ public function installedDrupalVersion(): string * Drupal 10 when 10.0 is already out of support. This means that * we will not support running drupal-rector on Drupal 10.0.x. * - * @param \DrupalRector\Contract\VersionedConfigurationInterface $configuration + * @param VersionedConfigurationInterface $configuration * * @return bool */