apply php-cs-fixer fixes
This commit is contained in:
parent
5550b877df
commit
6226784b10
|
|
@ -12,7 +12,7 @@ use Illuminate\Support\Facades\Http;
|
|||
|
||||
class UpdateController extends Controller
|
||||
{
|
||||
const SPEC = 2;
|
||||
public const SPEC = 2;
|
||||
|
||||
public function showUpdatePage()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@ class User extends Authenticatable
|
|||
use HasApiTokens;
|
||||
use SearchString;
|
||||
|
||||
const BANNED = -1;
|
||||
const NORMAL = 0;
|
||||
const ADMIN = 1;
|
||||
const SUPER_ADMIN = 2;
|
||||
public const BANNED = -1;
|
||||
public const NORMAL = 0;
|
||||
public const ADMIN = 1;
|
||||
public const SUPER_ADMIN = 2;
|
||||
|
||||
protected $primaryKey = 'uid';
|
||||
public $timestamps = false;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class OptionForm
|
|||
* Pass this value to tell generator to
|
||||
* load text from language files automatically.
|
||||
*/
|
||||
const AUTO_DETECT = 0x97ab1;
|
||||
public const AUTO_DETECT = 0x97ab1;
|
||||
|
||||
protected $id;
|
||||
protected $title;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use Illuminate\Support\Str;
|
|||
|
||||
class Plugin
|
||||
{
|
||||
const README_FILES = [
|
||||
public const README_FILES = [
|
||||
'README.md',
|
||||
'readme.md',
|
||||
'README.MD',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user