Passed
Push — master ( 9f7dfe...ba4862 )
by David
03:07 queued 22s
created
src/Registry/StaticRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         }
53 53
 
54 54
         $pageBlock = new Block($themeDescriptor, [
55
-            'content' => [ $contentBlock ],
55
+            'content' => [$contentBlock],
56 56
             'title' => $page->getTitle(),
57 57
             'url' => $page->getUrl(),
58 58
             'menu' => $this->pageRegistry->getRootMenuItem()
Please login to merge, or discard this patch.
src/Loaders/YamlUtils.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,9 @@
 block discarded – undo
65 65
      */
66 66
     private function isAssoc(array $arr): bool
67 67
     {
68
-        if (array() === $arr) return false;
68
+        if (array() === $arr) {
69
+            return false;
70
+        }
69 71
         return array_keys($arr) !== range(0, count($arr) - 1);
70 72
     }
71 73
 }
Please login to merge, or discard this patch.
src/Menu/MenuItem.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
      * @param string $label The text for the menu item
39 39
      * @param string|null $url The link for the menu (relative to the root url), unless it starts with / or http:// or https:// or # or ?.
40 40
      */
41
-    public function __construct(string $label, string $url=null) {
41
+    public function __construct(string $label, string $url = null) {
42 42
         $this->label = $label;
43 43
         $this->url = $url;
44 44
         $this->children = new \SplPriorityQueue();
Please login to merge, or discard this patch.