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 a php8 warning #27276

Closed
wants to merge 1 commit into from
Closed

Fix a php8 warning #27276

wants to merge 1 commit into from

Conversation

jvoisin
Copy link

@jvoisin jvoisin commented May 29, 2021

There is no need to provide a default value for fileIdentifier,
since the parameter is always used on every callsite.
This also fixes the following warning:

"Required parameter $tagManager follows optional parameter $fileIdentifier at /var/www/nextcloud/apps/files/lib/Helper.php#220"

This should partially address #25806

There is no need to provide a default value for fileIdentifier,
since the parameter is always used on every callsite.
This also fixes the following warning:

"Required parameter $tagManager follows optional parameter $fileIdentifier at /var/www/nextcloud/apps/files/lib/Helper.php#220"

Signed-off-by: jvoisin <[email protected]>
@jvoisin
Copy link
Author

jvoisin commented May 29, 2021

Duplicate of #26494, my bad.

@jvoisin jvoisin closed this May 29, 2021
@jvoisin jvoisin deleted the warn_php8 branch May 29, 2021 12:03
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.

1 participant