Skip to content

Conversation

@samsonasik
Copy link
Member

The following code should be skipped:

final class SkipReturnStandaloneTrueFalseByReturnBool
{
    /**
     * @return true
     */
    function someTrue(): bool
    {
        return true;
    }

    /**
     * @return false
     */
    function someFalse(): bool
    {
        return false;
    }
}

Ref https://phpstan.org/r/6fbad07c-4b5e-4d89-8970-03df898abc6e

@samsonasik
Copy link
Member Author

Fixed 🎉

@samsonasik samsonasik merged commit 0d6234b into main Dec 15, 2022
@samsonasik samsonasik deleted the skip-standalone-return-false-true branch December 15, 2022 14:04
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.

4 participants