1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +02:00

More indentation cleanup

This commit is contained in:
Franz Liedke
2016-02-26 12:31:59 +09:00
parent 445517ee84
commit 594a2ba8cc
11 changed files with 34 additions and 22 deletions

View File

@@ -86,8 +86,9 @@ class ListPostsController extends AbstractCollectionController
if (($near = array_get($queryParams, 'page.near')) > 1) {
if (count($filter) > 1 || ! isset($filter['discussion']) || $sort) {
throw new InvalidParameterException('You can only use page[near] with '
.'filter[discussion] and the default sort order');
throw new InvalidParameterException(
'You can only use page[near] with filter[discussion] and the default sort order'
);
}
$offset = $this->posts->getIndexForNumber($filter['discussion'], $near, $actor);