Skip to content

Fixed code style#858

Open
Galster-dev wants to merge 1 commit intoCvolton:masterfrom
Galster-dev:fix/style
Open

Fixed code style#858
Galster-dev wants to merge 1 commit intoCvolton:masterfrom
Galster-dev:fix/style

Conversation

@Galster-dev
Copy link
Contributor

No description provided.

Copy link
Contributor

@EMREOYUN EMREOYUN left a 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;
}
Copy link
Contributor

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.

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");
}
Copy link
Contributor

@EMREOYUN EMREOYUN Jul 2, 2022

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.

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