-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
getFile is inconsistent #287
Comments
g105b
added a commit
that referenced
this issue
Apr 25, 2024
g105b
added a commit
that referenced
this issue
Apr 25, 2024
g105b
added a commit
that referenced
this issue
Apr 25, 2024
* feature: make getFile consistently nullable closes #287 * build: php 8.1 compatibility * build: cache php version * build: fix dependency versions * ci: use phpunit composer version * build: php 8.1 compatibility * ci: upgrade steps * ci: name build artifact * ci: hard code version * test: update phpdoc * ci: use v4 upload/download artifact * ci: tag coverage data with sha * ci: tag coverage run number * ci: tag coverage matrix build * ci: typo * ci: upgrade coverage version * ci: add php version to coverage information * ci: add codecov token * feature: make getFile consistently nullable closes #287
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All other getters return a nullable type, depending on whether the field is present in the input.
getFile throws an exception if there isn't a file.
Make it return null instead, so it's consistent.
The text was updated successfully, but these errors were encountered: