Passed
Push — master ( 1e5c2d...82a166 )
by Caen
04:38 queued 15s
created
packages/publications/src/Pages/PublicationListPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
 
36 36
     public function showInNavigation(): bool
37 37
     {
38
-        return ! in_array($this->type->getDirectory(), Config::getArray('hyde.navigation.exclude', []));
38
+        return !in_array($this->type->getDirectory(), Config::getArray('hyde.navigation.exclude', []));
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
packages/framework/src/Framework/Factories/NavigationDataFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
     private function isNonDocumentationPageInHiddenSubdirectory(): bool
129 129
     {
130
-        return ! $this->isInstanceOf(DocumentationPage::class)
130
+        return !$this->isInstanceOf(DocumentationPage::class)
131 131
             && $this->pageIsInSubdirectory()
132 132
             && $this->getSubdirectoryConfiguration() === 'hidden'
133 133
             && basename($this->identifier) !== 'index';
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         $pageKey = $this->{$pageKeyName};
189 189
 
190 190
         // Check if the config entry is a flat array or a keyed array.
191
-        if (! array_key_exists($pageKey, $config)) {
191
+        if (!array_key_exists($pageKey, $config)) {
192 192
             // Adding an offset makes so that pages with a front matter priority, or
193 193
             // explicit keyed priority selection that is lower can be shown first.
194 194
             // This is all to make it easier to mix ways of adding priorities.
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 
237 237
     protected function invert(?bool $value): ?bool
238 238
     {
239
-        return $value === null ? null : ! $value;
239
+        return $value === null ? null : !$value;
240 240
     }
241 241
 
242 242
     protected function offset(?int $value, int $offset): ?int
Please login to merge, or discard this patch.