Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jiannei committed Dec 1, 2020
1 parent 5142c1e commit e5ac642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Repositories/Enums/ResponseCodeEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected static function getConstants(): array
}

/**
* Get HTTP standard status code
* Get HTTP standard status code.
*
* @return array
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ResponseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected function prepareJsonResponse($request, Throwable $e): void
*/
protected function buildFailedValidationResponse(Request $request, array $errors)
{
if (!isset(static::$responseBuilder)) {
if (! isset(static::$responseBuilder)) {
$this->response->fail('Validation error', 422, $errors);
}

Expand Down

0 comments on commit e5ac642

Please sign in to comment.