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 PHPStan failures #24

Merged
merged 4 commits into from Oct 5, 2023
Merged

Fix PHPStan failures #24

merged 4 commits into from Oct 5, 2023

Conversation

praem90
Copy link
Contributor

@praem90 praem90 commented Oct 5, 2023

This is a fix. Resolves #23

Errors:

PHPStan: src/Configuration.php#L120 Dead catch - Dflydev\DotAccessData\Exception\MissingPathException is never thrown in the try block.

PHPStan: src/Configuration.php#L193 Parameter 1 $data of method Dflydev\DotAccessData\Data::import() expects array<string, mixed>, array given.

praem90 and others added 4 commits October 5, 2023 12:25
Errors:

PHPStan: src/Configuration.php#L120 Dead catch - Dflydev\DotAccessData\Exception\MissingPathException is never thrown in the try block.

PHPStan: src/Configuration.php#L193 Parameter 1 $data of method Dflydev\DotAccessData\Data::import() expects array<string, mixed>, array given.
@colinodell colinodell self-assigned this Oct 5, 2023
Copy link
Member

@colinodell colinodell left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! I've fixed a couple of other issues that popped up.

@colinodell colinodell merged commit 86f7981 into thephpleague:main Oct 5, 2023
11 checks passed
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.

Fix PHPStan failures
2 participants