Passed
Pull Request — master (#3120)
by
unknown
06:06
created
app/Module/HourglassChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 {
46 46
     use ModuleChartTrait;
47 47
 
48
-    protected const ROUTE_URL  = '/tree/{tree}/hourglass-{generations}-{spouses}/{xref}';
48
+    protected const ROUTE_URL = '/tree/{tree}/hourglass-{generations}-{spouses}/{xref}';
49 49
 
50 50
     // Defaults
51 51
     private const   DEFAULT_GENERATIONS = '3';
Please login to merge, or discard this patch.
app/Module/AncestorsChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 {
46 46
     use ModuleChartTrait;
47 47
 
48
-    protected const ROUTE_URL  = '/tree/{tree}/ancestors-{style}-{generations}/{xref}';
48
+    protected const ROUTE_URL = '/tree/{tree}/ancestors-{style}-{generations}/{xref}';
49 49
 
50 50
     // Chart styles
51 51
     public const CHART_STYLE_TREE        = 'tree';
Please login to merge, or discard this patch.
app/Module/LifespansChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 {
47 47
     use ModuleChartTrait;
48 48
 
49
-    protected const ROUTE_URL  = '/tree/{tree}/lifespans';
49
+    protected const ROUTE_URL = '/tree/{tree}/lifespans';
50 50
 
51 51
     // Defaults
52 52
     protected const DEFAULT_PARAMETERS = [];
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/LocationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,8 +294,8 @@
 block discarded – undo
294 294
             if ($parent_id === 0) {
295 295
                 // We're at the global level so create a minimal
296 296
                 // place for the page title and breadcrumbs
297
-                $title         =  I18N::translate('World');
298
-                $hierarchy     =  [];
297
+                $title         = I18N::translate('World');
298
+                $hierarchy     = [];
299 299
             } else {
300 300
                 $hierarchy = $this->getHierarchy($parent_id);
301 301
                 $tmp       = new Location($hierarchy[0]->fqpn);
Please login to merge, or discard this patch.
app/Http/Controllers/AutocompleteController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      *
224 224
      * @return array
225 225
      */
226
-    private function searchGazetteer($query, $limit=10)
226
+    private function searchGazetteer($query, $limit = 10)
227 227
     {
228 228
         $key          = Site::getPreference('opencage');
229 229
         $use_opencage = $key !== '';
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
         $client = new Client();
256 256
         try {
257 257
             $json     = $client->get($url, self::GUZZLE_OPTIONS + ['query' => $query])->getBody()->__toString();
258
-            $results  = json_decode($json, false, 512,  JSON_THROW_ON_ERROR);
258
+            $results  = json_decode($json, false, 512, JSON_THROW_ON_ERROR);
259 259
             if ($use_opencage) {
260 260
                 $results = $results->results;
261 261
             }
Please login to merge, or discard this patch.