Add style CI (#503)

Hopefully this will result in slightly better code.
This commit is contained in:
Régis Freyd
2017-07-26 21:02:55 -04:00
committed by GitHub
parent 6127830fff
commit a2172f0851
148 changed files with 444 additions and 620 deletions
@@ -81,7 +81,7 @@ class SignificantOthersController extends Controller
$contact->logEvent('significantother', $significantOther->id, 'create');
return redirect('/people/' . $contact->id)
return redirect('/people/'.$contact->id)
->with('success', trans('people.significant_other_add_success'));
}
@@ -139,9 +139,9 @@ class SignificantOthersController extends Controller
$request->get('age')
);
if($significantOther->reminder) {
if ($significantOther->reminder) {
$significantOther->update([
'birthday_reminder_id' => null
'birthday_reminder_id' => null,
]);
$significantOther->reminder->delete();
@@ -168,7 +168,7 @@ class SignificantOthersController extends Controller
$contact->logEvent('significantother', $significantOther->id, 'update');
return redirect('/people/' . $contact->id)
return redirect('/people/'.$contact->id)
->with('success', trans('people.significant_other_edit_success'));
}
@@ -181,7 +181,7 @@ class SignificantOthersController extends Controller
*/
public function destroy(Contact $contact, SignificantOther $significantOther)
{
if($significantOther->reminder) {
if ($significantOther->reminder) {
$significantOther->reminder->delete();
}
@@ -189,7 +189,7 @@ class SignificantOthersController extends Controller
$significantOther->delete();
return redirect('/people/' . $contact->id)
return redirect('/people/'.$contact->id)
->with('success', trans('people.significant_other_delete_success'));
}
}