Passed
Push — master ( 916e40...59dd7b )
by Caen
03:21 queued 14s
created
src/Markdown/Contracts/FrontMatter/SubSchemas/NavigationSchema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
packages/framework/src/Framework/Factories/NavigationDataFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.