@@ -293,9 +293,9 @@ |
||
293 | 293 | [$this->getBaseType() ?? '', $other->getBaseType() ?? ''], |
294 | 294 | [$this->getRelationName() ?? '', $other->getRelationName() ?? ''], |
295 | 295 | ]; |
296 | - foreach($cmps as $cmpvals){ |
|
296 | + foreach($cmps as $cmpvals) { |
|
297 | 297 | $cmp = strcmp($cmpvals[0], $cmpvals[1]); |
298 | - if(0 !== $cmp){ |
|
298 | + if(0 !== $cmp) { |
|
299 | 299 | return $cmp / abs($cmp); |
300 | 300 | } |
301 | 301 | } |