Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:28 +01:00
parent 2eebcb21f1
commit f53923f16c
187 changed files with 429 additions and 482 deletions

View File

@@ -91,7 +91,7 @@ class Preference extends Model
}
$default = config('firefly.default_preferences');
if (array_key_exists($value, $default)) {
$preference = new Preference;
$preference = new Preference();
$preference->name = $value;
$preference->data = $default[$value];
$preference->user_id = $user->id;
@@ -100,7 +100,7 @@ class Preference extends Model
return $preference;
}
}
throw new NotFoundHttpException;
throw new NotFoundHttpException();
}
/**