Fix coding standard (no_blank_lines_after_phpdoc, single_blank_line_before_namespace, yoda_style)

This commit is contained in:
Meritoo
2017-09-20 09:27:56 +02:00
parent e1fefcdeae
commit 7aa2239dbd
12 changed files with 69 additions and 69 deletions

View File

@@ -31,14 +31,14 @@ class Repository
{
$position = self::getExtremePosition($items, $asLast);
if ($position === null && $force) {
if (null === $position && $force) {
$position = 0;
}
if ($position !== null && !empty($items)) {
if (null !== $position && !empty($items)) {
foreach ($items as $item) {
if (method_exists($item, 'getPosition')) {
if ($item->getPosition() === null) {
if (null === $item->getPosition()) {
if ($asLast) {
++$position;
} else {