From 04d257db9280e12ca66dc7747134acc43bd81d2d Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 21 Jul 2023 00:18:50 +0200 Subject: [PATCH] fix this to static --- .../Fixture/also_trait.php.inc | 2 +- .../Fixture/docblock_exists.php.inc | 2 +- .../Fixture/fixture.php.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/also_trait.php.inc b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/also_trait.php.inc index 78f22712..a6696dd2 100644 --- a/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/also_trait.php.inc +++ b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/also_trait.php.inc @@ -18,7 +18,7 @@ namespace Rector\Tests\DowngradePhp80\Rector\ClassMethod\DowngradeStaticTypeDecl trait AlsoTrait { /** - * @return $this + * @return static */ public function getAnything() { diff --git a/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/docblock_exists.php.inc b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/docblock_exists.php.inc index eb6e0e31..4168a795 100644 --- a/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/docblock_exists.php.inc +++ b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/docblock_exists.php.inc @@ -25,7 +25,7 @@ namespace Rector\Tests\DowngradePhp80\Rector\ClassMethod\DowngradeStaticTypeDecl class DocblockExists { /** * This property is the best one - * @return $this + * @return static */ public function getAnything() { diff --git a/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/fixture.php.inc b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/fixture.php.inc index 27d8e623..b8b605a8 100644 --- a/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/fixture.php.inc +++ b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Fixture/fixture.php.inc @@ -23,7 +23,7 @@ namespace Rector\Tests\DowngradePhp80\Rector\ClassMethod\DowngradeStaticTypeDecl class Fixture { /** - * @return $this + * @return static */ public function getAnything() {