Completed
Pull Request — master (#6)
by Angel
03:38
created
src/behaviors/Slug.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,6 +188,6 @@
 block discarded – undo
188 188
     public function checkAccess(array $params, ?Action $action = null): void
189 189
     {
190 190
         $this->ensureSlug($this->owner, true);
191
-        $this->parentSlug?->checkAccess($params, $action);
191
+        $this->parentSlug ? ->checkAccess($params, $action);
192 192
     }
193 193
 }
Please login to merge, or discard this patch.
src/urlRules/Composite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * @inheritdoc
40 40
      */
41
-    public function setNormalizer(UrlNormalizer|array $normalizer): void
41
+    public function setNormalizer(UrlNormalizer | array $normalizer): void
42 42
     {
43 43
         $this->normalizer = Instance::ensure($normalizer, UrlNormalizer::class);
44 44
     }
Please login to merge, or discard this patch.
src/hal/ContractTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $this->getSlugBehavior()->checkAccess($params, $action);
34 34
     }
35 35
 
36
-    abstract protected function slugBehaviorConfig(): array|Slug;
36
+    abstract protected function slugBehaviorConfig(): array | Slug;
37 37
 
38 38
     protected function curiesBehaviorConfig(): array
39 39
     {
Please login to merge, or discard this patch.