Passed
Push — develop ( 3e5f5a...5b23b0 )
by Greg
09:28
created
app/Http/Controllers/Admin/LocationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,8 +293,8 @@
 block discarded – undo
293 293
             if ($parent_id === 0) {
294 294
                 // We're at the global level so create a minimal
295 295
                 // place for the page title and breadcrumbs
296
-                $title         =  I18N::translate('World');
297
-                $hierarchy     =  [];
296
+                $title         = I18N::translate('World');
297
+                $hierarchy     = [];
298 298
             } else {
299 299
                 $hierarchy = $this->getHierarchy($parent_id);
300 300
                 $tmp       = new PlaceLocation($hierarchy[0]->fqpn);
Please login to merge, or discard this patch.
app/Contracts/LocationFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,5 +59,5 @@
 block discarded – undo
59 59
      *
60 60
      * @return Location
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Location;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Location;
63 63
 }
Please login to merge, or discard this patch.
app/Factories/LocationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @return Location
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Location
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Location
93 93
     {
94 94
         return new Location($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.