Passed
Pull Request — master (#3008)
by
unknown
05:51
created
app/Http/Controllers/Admin/LocationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
             $breadcrumbs[] = I18N::translate('Add');
307 307
         } else {
308 308
             $breadcrumbs[] = I18N::translate('Edit');
309
-            $title         .= ' — ' . I18N::translate('Edit');
309
+            $title .= ' — ' . I18N::translate('Edit');
310 310
         }
311 311
 
312 312
         return $this->viewResponse('admin/location-edit', [
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
 
735 735
         foreach ($places as $place) {
736 736
             $location = new Location($place['fqpn']);
737
-            $new   = !$location->exists();
737
+            $new = !$location->exists();
738 738
 
739 739
             if (($options === 'update' && $new) || ($options === 'add' && !$new)) {
740 740
                 continue;
Please login to merge, or discard this patch.