Skip to content

ForbidPhpDocNullabilityMismatchWithNativeTypehintRule incorrectly handles void #328

@mspirkov

Description

@mspirkov

PHP version: 7.4.33

Package version: 4.2.1

An error occurs in this section of the code.

https://github.com/mspirkov/yii2-web/blob/8d74aac4263334cf9c39fa1abd1953c4150d9206/src/Request.php#L293-L303

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions