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

Checks if parameters are set because of strict_types directive #328

Merged

Conversation

aclDeveloper
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets n/a

In the current 4.0 state its not possible to export any definition because of the strict_types directive in the ObjectsFetcher.php class. Since the behavior changed, a simple if($params['something']) query will result in an error message. Only workaround is to set all parameters that are queried until this is fixed.

This change proposes to check if parameters are actually available through isset, as it is done already with root

@dpfaffenbauer
Copy link
Collaborator

@aarongerig please review as well

@dpfaffenbauer dpfaffenbauer merged commit a9ad3f5 into instride-ch:master Oct 13, 2021
@dpfaffenbauer
Copy link
Collaborator

thanks

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.

3 participants