From ac336544e9cd914e8773b119712e974aaf16f80c Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 3 Apr 2024 13:14:08 +0700 Subject: [PATCH] Use sorted union types doc by phpstan DowngradeUnionTypeDeclarationRector --- composer.json | 2 +- .../Fixture/keep_nullable_trio_docblock.php.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index aea2b464..fba6064d 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "phpunit/phpunit": "^10.3", "rector/phpstan-rules": "^0.7.4", "rector/rector-generator": "^0.7.3", - "rector/rector-src": "dev-main", + "rector/rector-src": "dev-clean-up-type-hasher", "symplify/easy-coding-standard": "^12.0", "symplify/phpstan-extensions": "^11.3", "symplify/phpstan-rules": "^12.4", diff --git a/rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector/Fixture/keep_nullable_trio_docblock.php.inc b/rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector/Fixture/keep_nullable_trio_docblock.php.inc index 5ef42348..dfa34a3a 100644 --- a/rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector/Fixture/keep_nullable_trio_docblock.php.inc +++ b/rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector/Fixture/keep_nullable_trio_docblock.php.inc @@ -16,7 +16,7 @@ namespace Rector\Tests\DowngradePhp80\Rector\FunctionLike\DowngradeUnionTypeDecl final class NullableTrioDocblock { /** - * @return int|null|string + * @return int|string|null */ public function run($value) {