@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public const NAVIGATION_SCHEMA = [ |
| 14 | 14 | 'label' => 'string', |
| 15 | 15 | 'group' => 'string', // Category is also supported |
| 16 | - 'hidden' => 'bool', // Visible is also supported (but obviously invert the value) |
|
| 17 | - 'priority' => 'int', // Order is also supported |
|
| 16 | + 'hidden' => 'bool', // Visible is also supported (but obviously invert the value) |
|
| 17 | + 'priority' => 'int', // Order is also supported |
|
| 18 | 18 | ]; |
| 19 | 19 | } |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | |
| 192 | 192 | protected function invert(?bool $value): ?bool |
| 193 | 193 | { |
| 194 | - return $value === null ? null : ! $value; |
|
| 194 | + return $value === null ? null : !$value; |
|
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | protected function offset(?int $value, int $offset): ?int |