1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 02:36:08 +02:00

Fix coding standards to conform to PSR-2

This commit is contained in:
Franz Liedke
2015-05-19 01:03:12 +02:00
parent 6b4c27a944
commit 7885c9a002
22 changed files with 239 additions and 242 deletions

View File

@@ -4,8 +4,8 @@ use Flarum\Api\JsonApiRequest;
trait GetsPosts
{
protected function getPosts(JsonApiRequest $request, array $where)
{
protected function getPosts(JsonApiRequest $request, array $where)
{
$user = $request->actor->getUser();
if (isset($where['discussion_id']) && ($near = $request->get('near')) > 1) {
@@ -22,5 +22,5 @@ trait GetsPosts
$request->limit,
$offset
);
}
}
}