@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | { |
95 | 95 | $url = $request->get('url', ''); |
96 | 96 | $xref = $request->get('xref', ''); |
97 | - $change_id = (int)$request->get('change_id'); |
|
97 | + $change_id = (int) $request->get('change_id'); |
|
98 | 98 | |
99 | 99 | $changes = DB::table('change') |
100 | 100 | ->where('gedcom_id', '=', $tree->id()) |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | { |
192 | 192 | $url = $request->get('url', ''); |
193 | 193 | $xref = $request->get('xref', ''); |
194 | - $change_id = (int)$request->get('change_id'); |
|
194 | + $change_id = (int) $request->get('change_id'); |
|
195 | 195 | |
196 | 196 | // Reject a change, and subsequent changes to the same record |
197 | 197 | DB::table('change') |
@@ -519,7 +519,7 @@ |
||
519 | 519 | // ... and process the differences |
520 | 520 | $inserted = 0; |
521 | 521 | if ($diff->isNotEmpty()) { |
522 | - $nextRecordId = 1 + (int) DB::table('placelocation')->max('pl_id'); |
|
522 | + $nextRecordId = 1 + (int) DB::table('placelocation')->max('pl_id'); |
|
523 | 523 | |
524 | 524 | foreach ($diff as $place) { |
525 | 525 | // For Westminster, London, England, we must also create England and London, England |