-
Notifications
You must be signed in to change notification settings - Fork 2.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
Scrutinizer clear code #5911
Scrutinizer clear code #5911
Conversation
@@ -1155,9 +1155,9 @@ private function getCommitOrder(array $entityChangeSet = null) | |||
} | |||
|
|||
$joinColumns = reset($assoc['joinColumns']); | |||
$isNullable = isset($joinColumns['nullable']) ? $joinColumns['nullable'] : false; | |||
$weight = (int)empty($joinColumns['nullable']); |
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.
Consider inlining this into $calc->addDependency(
, since the variable isn't used anywhere else.
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.
@Ocramius, ok (i think about code as comment)
Done, wait for build
@ReenExe thanks! Note: please be more specific with commit messages in further PRs - the current commit messages don't really explain what/why something was done :-) |
only UnitOfWork