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:
@@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user