Passed
Branch decouple-schema-constructors (79d259)
by Caen
02:51
created
src/Concerns/FrontMatter/Schemas/Constructors/ConstructsPageSchemas.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@  discard block
 block discarded – undo
39 39
 
40 40
     protected function makeCanonicalUrl(): ?string
41 41
     {
42
-        if (! empty($this->matter('canonicalUrl'))) {
42
+        if (!empty($this->matter('canonicalUrl'))) {
43 43
             return $this->matter('canonicalUrl');
44 44
         }
45 45
 
46
-        if (Hyde::hasSiteUrl() && ! empty($this->identifier)) {
46
+        if (Hyde::hasSiteUrl() && !empty($this->identifier)) {
47 47
             return $this->getRoute()->getQualifiedUrl();
48 48
         }
49 49
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $orderIndexArray = config('docs.sidebar_order', []);
112 112
 
113
-        if (! in_array($this->identifier, $orderIndexArray)) {
113
+        if (!in_array($this->identifier, $orderIndexArray)) {
114 114
             return 500;
115 115
         }
116 116
 
Please login to merge, or discard this patch.