Skip to content

Fix running AddArrayReturnDocTypeRector on empty arrays#2595

Merged
TomasVotruba merged 1 commit intorectorphp:masterfrom
gnutix:AddArrayReturnDocTypeRector/fix-existing-mixed-array-type
Jan 7, 2020
Merged

Fix running AddArrayReturnDocTypeRector on empty arrays#2595
TomasVotruba merged 1 commit intorectorphp:masterfrom
gnutix:AddArrayReturnDocTypeRector/fix-existing-mixed-array-type

Conversation

@gnutix
Copy link
Copy Markdown
Contributor

@gnutix gnutix commented Jan 7, 2020

No description provided.

@gnutix gnutix requested a review from TomasVotruba January 7, 2020 08:42
if ($phpDocTagValueNode instanceof ReturnTagValueNode ||
$phpDocTagValueNode instanceof ParamTagValueNode ||
$phpDocTagValueNode instanceof VarTagValueNode
) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change here, it's just for easier reading.

@TomasVotruba TomasVotruba merged commit 5b844d6 into rectorphp:master Jan 7, 2020
@TomasVotruba TomasVotruba deleted the AddArrayReturnDocTypeRector/fix-existing-mixed-array-type branch January 7, 2020 10:51
@TomasVotruba
Copy link
Copy Markdown
Member

Thank you

TomasVotruba added a commit that referenced this pull request Jun 30, 2022
rectorphp/rector-src@ed92724 [DX] Try unused public const PHPStan rule (#2595)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants