Skip to content

Fixed code style - #858

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

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

Conversation

@Galster-dev

Copy link
Copy Markdown
Contributor

No description provided.

@EMREOYUN EMREOYUN left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread incl/lib/connection.php
$port = 3306;
if (!isset($port)) {
$port = 3306;
}

Copy link
Copy Markdown
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.

Copy link
Copy Markdown

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

@EMREOYUN EMREOYUN Jul 2, 2022

Copy link
Copy Markdown
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.

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