mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 12:43:52 +08:00
Merge pull request #6 from flarum/analysis-qBMxag
Applied fixes from StyleCI
This commit is contained in:
commit
e0aecfce1e
|
@ -13,7 +13,6 @@ namespace Flarum\Lock\Access;
|
|||
use Flarum\Core\Access\AbstractPolicy;
|
||||
use Flarum\Core\Discussion;
|
||||
use Flarum\Core\User;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
class DiscussionPolicy extends AbstractPolicy
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
@ -50,9 +51,9 @@ class DiscussionLockedPost extends AbstractEventPost implements MergeableInterfa
|
|||
/**
|
||||
* Create a new instance in reply to a discussion.
|
||||
*
|
||||
* @param integer $discussionId
|
||||
* @param integer $userId
|
||||
* @param boolean $isLocked
|
||||
* @param int $discussionId
|
||||
* @param int $userId
|
||||
* @param bool $isLocked
|
||||
* @return static
|
||||
*/
|
||||
public static function reply($discussionId, $userId, $isLocked)
|
||||
|
@ -70,7 +71,7 @@ class DiscussionLockedPost extends AbstractEventPost implements MergeableInterfa
|
|||
/**
|
||||
* Build the content attribute.
|
||||
*
|
||||
* @param boolean $isLocked Whether or not the discussion is stickied.
|
||||
* @param bool $isLocked Whether or not the discussion is stickied.
|
||||
* @return array
|
||||
*/
|
||||
public static function buildContent($isLocked)
|
||||
|
|
Loading…
Reference in New Issue
Block a user