Add php-cs-fixer to build
This commit is contained in:
@@ -18,7 +18,9 @@ class BidExists extends HttpException
|
||||
parent::__construct(
|
||||
409,
|
||||
'A bid already exists for this flight',
|
||||
$previous, $headers, $code
|
||||
$previous,
|
||||
$headers,
|
||||
$code
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,8 @@ class InternalError extends ValidationException
|
||||
$validator = Validator::make([], []);
|
||||
$validator->errors()->add(
|
||||
$field ?? static::FIELD,
|
||||
$message ?? static::MESSAGE);
|
||||
$message ?? static::MESSAGE
|
||||
);
|
||||
|
||||
parent::__construct($validator);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,9 @@ class PirepCancelled extends HttpException
|
||||
parent::__construct(
|
||||
400,
|
||||
'PIREP has been cancelled, updates are not allowed',
|
||||
$previous, $headers, $code
|
||||
$previous,
|
||||
$headers,
|
||||
$code
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user