mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-11 19:03:46 +02:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
fc38b09e1f
commit
efda0dd009
@@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user