-
Notifications
You must be signed in to change notification settings - Fork 309
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 code style #858
base: master
Are you sure you want to change the base?
Fixed code style #858
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really required? Yes, you have done an excellent job making the code tidy but I don't think it is necessary. Even you put brackets to the single line of code which you don't need to. It does not break the code but it is unnecessary to add.
My review is neutral.
$port = 3306; | ||
if (!isset($port)) { | ||
$port = 3306; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding brackets into a single line of code is completely unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding brackets into a single line of code is completely unnecessary.
Completely agree
exit("-1"); | ||
if (empty($_POST['targetAccountID'])) { | ||
exit("-1"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding brackets into a single line of code is completely unnecessary.
No description provided.