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

Fixed some php 8 errors #147

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

xRealNeon
Copy link

Closes #146

@@ -476,7 +476,7 @@ final private function log()
*
* @since 1.0
*/
final private function lastUsed()
private function lastUsed()
Copy link
Contributor

Choose a reason for hiding this comment

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

@xRealNeon functions are deliberately made final here.
can you please specify the case in which you need to remove final keyword?

Choose a reason for hiding this comment

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

Private methods cannot be final as they are never overridden by other classes

Copy link

sonarcloud bot commented Oct 4, 2024

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.

Warnings in PHP 8
3 participants