| @@ -107,7 +107,9 @@ | ||
| 107 | 107 | public function all() | 
| 108 | 108 |      { | 
| 109 | 109 | $items = $this->getArrayCopy(); | 
| 110 | - if(empty($items)) return []; | |
| 110 | +        if(empty($items)) { | |
| 111 | + return []; | |
| 112 | + } | |
| 111 | 113 | |
| 112 | 114 |          return call_user_func_array('array_merge', $items); | 
| 113 | 115 | } | 
| @@ -226,7 +226,7 @@ | ||
| 226 | 226 | } | 
| 227 | 227 |          } elseif (($rule = Helper::cmp($b->rule->priority, $a->rule->priority)) !== 0) { | 
| 228 | 228 | return $multiplier*$rule; | 
| 229 | -        }  else { | |
| 229 | +        } else { | |
| 230 | 230 | return $multiplier*($a->id < $b->id ? -1 : 1); | 
| 231 | 231 | } | 
| 232 | 232 | } | 
| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | |
| 18 | 18 | |
| 19 | 19 | use Kadet\Highlighter\bin\VerboseOutput; | 
| 20 | - use Kadet\Highlighter\KeyLighter; | |
| 20 | +use Kadet\Highlighter\KeyLighter; | |
| 21 | 21 | use Kadet\Highlighter\Language\Language; | 
| 22 | 22 | use Symfony\Component\Console\Command\Command; | 
| 23 | 23 | use Symfony\Component\Console\Exception\InvalidArgumentException; |