@@ -121,7 +121,7 @@ |
||
| 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 |
@@ -95,7 +95,7 @@ discard block |
||
| 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 |
||
| 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') |
@@ -133,10 +133,10 @@ discard block |
||
| 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 |
||
| 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 |