@@ -14,7 +14,7 @@ |
||
14 | 14 | final class Filter { |
15 | 15 | use \Nette\StaticClass; |
16 | 16 | |
17 | - public const OPERATORS = ["==", ">=", ">", "<=", "<", "!=",]; |
|
17 | + public const OPERATORS = ["==", ">=", ">", "<=", "<", "!=", ]; |
|
18 | 18 | |
19 | 19 | public static function getOperator(string $input): string { |
20 | 20 | foreach(static::OPERATORS as $operator) { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | return; |
88 | 88 | } |
89 | 89 | if($this->hasItems([$uniqueProperty => $newItem->$uniqueProperty])) { |
90 | - throw new \RuntimeException("Duplicate $uniqueProperty {$newItem->$uniqueProperty}."); |
|
90 | + throw new \RuntimeException("duplicate $uniqueProperty {$newItem->$uniqueProperty}."); |
|
91 | 91 | } |
92 | 92 | } |
93 | 93 |