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

Handle $permissions = null #101

Merged
merged 1 commit into from
Mar 9, 2023
Merged

Handle $permissions = null #101

merged 1 commit into from
Mar 9, 2023

Conversation

Propaganistas
Copy link
Contributor

All of a sudden $file->getPermissions() returns null for some files.
count() only handles iterables, but the same conditional can be achieved with empty() which also supports null.

@parallels999
Copy link

Closes #91

@masbug masbug merged commit c7367d5 into masbug:2.x Mar 9, 2023
@masbug
Copy link
Owner

masbug commented Mar 9, 2023

Thanks!

@Propaganistas Propaganistas deleted the patch-1 branch March 9, 2023 18:21
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