Skip to content

Add PHP inspection for valid return types - #5

Open
timkelty wants to merge 1 commit into
masterfrom
feature/validate-return-types
Open

Add PHP inspection for valid return types#5
timkelty wants to merge 1 commit into
masterfrom
feature/validate-return-types

Conversation

@timkelty

Copy link
Copy Markdown

Without STRICT_TYPE_CHECKING, the following isn't a warning.

publicfunctionfoo(): int
{
return'foo';
}

Sign up for freeto 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.

1 participant

@timkelty