Passed
Push — develop ( 9e61a0...029f3e )
by Greg
07:49
created
app/Http/Controllers/Admin/MediaController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
         $length = (int) $request->getAttribute('length');
122 122
 
123 123
         // Files within this folder
124
-        $media_folder  = $request->getAttribute('media_folder', '');
124
+        $media_folder = $request->getAttribute('media_folder', '');
125 125
 
126 126
         // subfolders within $media_path
127 127
         $subfolders = $request->getAttribute('subfolders', ''); // include|exclude
Please login to merge, or discard this patch.
app/Http/Controllers/PendingChangesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     {
96 96
         $url       = $request->getAttribute('url', '');
97 97
         $xref      = $request->getAttribute('xref', '');
98
-        $change_id = (int)$request->getAttribute('change_id');
98
+        $change_id = (int) $request->getAttribute('change_id');
99 99
 
100 100
         $changes = DB::table('change')
101 101
             ->where('gedcom_id', '=', $tree->id())
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $url       = $request->getAttribute('url', '');
194 194
         $xref      = $request->getAttribute('xref', '');
195
-        $change_id = (int)$request->getAttribute('change_id');
195
+        $change_id = (int) $request->getAttribute('change_id');
196 196
 
197 197
         // Reject a change, and subsequent changes to the same record
198 198
         DB::table('change')
Please login to merge, or discard this patch.
app/Http/Controllers/ListController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,10 +133,10 @@  discard block
 block discarded – undo
133 133
         switch ($show_marnm) {
134 134
             case 'no':
135 135
             case 'yes':
136
-                $user->setPreference($families?'family-list-marnm':'individual-list-marnm', $show_marnm);
136
+                $user->setPreference($families ? 'family-list-marnm' : 'individual-list-marnm', $show_marnm);
137 137
                 break;
138 138
             default:
139
-                $show_marnm = $user->getPreference($families?'family-list-marnm':'individual-list-marnm');
139
+                $show_marnm = $user->getPreference($families ? 'family-list-marnm' : 'individual-list-marnm');
140 140
         }
141 141
 
142 142
         // Make sure selections are consistent.
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
                     'ged'      => $tree->name(),
169 169
                     'show_all' => 'yes',
170 170
                 ];
171
-                $show    = $request->getAttribute('show', 'surn');
171
+                $show = $request->getAttribute('show', 'surn');
172 172
             }
173 173
         } elseif ($surname) {
174 174
             $alpha    = $this->localization_service->initialLetter($surname); // so we can highlight the initial letter
Please login to merge, or discard this patch.