Passed
Push — master ( 36dd8a...74c53c )
by Caen
03:33 queued 12s
created
packages/framework/src/Concerns/CanBeInNavigation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         }
27 27
 
28 28
         if ($this instanceof DocumentationPage) {
29
-            return $this->identifier === 'index' && ! in_array('docs', config('hyde.navigation.exclude', []));
29
+            return $this->identifier === 'index' && !in_array('docs', config('hyde.navigation.exclude', []));
30 30
         }
31 31
 
32 32
         if ($this instanceof AbstractMarkdownPage) {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
             return config('hyde.navigation.labels.home', 'Home');
100 100
         }
101 101
 
102
-        if (isset($this->title) && ! blank($this->title)) {
102
+        if (isset($this->title) && !blank($this->title)) {
103 103
             return $this->title;
104 104
         }
105 105
 
Please login to merge, or discard this patch.
packages/framework/src/Actions/GeneratesDocumentationSearchIndexFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         /** @var DocumentationPage $page */
51 51
         foreach (DocumentationPage::all() as $page) {
52
-            if (! in_array($page->identifier, config('docs.exclude_from_search', []))) {
52
+            if (!in_array($page->identifier, config('docs.exclude_from_search', []))) {
53 53
                 $this->searchIndex->push(
54 54
                     $this->generatePageObject($page)
55 55
                 );
Please login to merge, or discard this patch.