Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with PHPStan and Psalm #540

Merged
merged 5 commits into from
Mar 7, 2022
Merged

Fix issues with PHPStan and Psalm #540

merged 5 commits into from
Mar 7, 2022

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Mar 7, 2022

No description provided.

@Nyholm Nyholm force-pushed the static-analyzers branch from 1db6bd4 to 0857460 Compare March 7, 2022 20:27
matthewtrask
matthewtrask previously approved these changes Mar 7, 2022
@@ -29,5 +29,6 @@ class NullResource extends ResourceAbstract
public function getData()
{
// Null has no data associated with it.
return null;
Copy link
Member Author

Choose a reason for hiding this comment

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

null is not the same as void

@matthewtrask matthewtrask merged commit 594f58b into master Mar 7, 2022
@Nyholm Nyholm deleted the static-analyzers branch March 7, 2022 20:57
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