-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 semicolon typo #861
Fixed semicolon typo #861
Conversation
Actually, this is intended |
Why? o_O |
Those extra parentheses aren't actually needed at all, but I put them in to clarify that the subtraction should always occur before the division. With method calls this obviously doesn't make any difference, but with operator overloading this would be required. It's merely a cosmetic clarification. |
@dktapps I thought they were required, because without them you would be calling |
No, you'd be calling divide() on the return value of the previous method. |
Again, this is not Java! |
Error Fix 1 Fix 2 So, is it a PHP issue or PHPStorm stupid? 📦 |
Or you? There's nothing wrong with |
It's PHPStorm that it give me this error, I know that is correct ... |
Introduction
Just fixed a semicolon error in the code.