Apply fixes from StyleCI

This commit is contained in:
Dane Everitt 2016-12-14 21:56:25 +00:00 committed by StyleCI Bot
parent fc38b09e1f
commit efda0dd009
9 changed files with 98 additions and 88 deletions

View file

@ -162,9 +162,9 @@ class ServerRepository
$data['pack'] = null;
}
if (!is_null($data['pack'])) {
if (! is_null($data['pack'])) {
$pack = Models\ServicePack::where('id', $data['pack'])->where('option', $data['option'])->first();
if (!$pack) {
if (! $pack) {
throw new DisplayException('The requested service pack does not seem to exist for this combination.');
}
}