php-cs fixes
This commit is contained in:
parent
d57060dad9
commit
8c8de6ac62
8 changed files with 27 additions and 37 deletions
|
@ -65,7 +65,7 @@ class NodeController extends ApplicationApiController
|
|||
$perPage = $request->query('per_page', 10);
|
||||
if ($perPage < 1) {
|
||||
$perPage = 10;
|
||||
} else if ($perPage > 100) {
|
||||
} elseif ($perPage > 100) {
|
||||
throw new BadRequestHttpException('"per_page" query parameter must be below 100.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue