apply php-cs-fixer fixes

This commit is contained in:
Pig Fang 2021-05-04 18:17:45 +08:00
parent 5550b877df
commit 6226784b10
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
4 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ use Illuminate\Support\Facades\Http;
class UpdateController extends Controller
{
const SPEC = 2;
public const SPEC = 2;
public function showUpdatePage()
{

View File

@ -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;

View File

@ -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;

View File

@ -9,7 +9,7 @@ use Illuminate\Support\Str;
class Plugin
{
const README_FILES = [
public const README_FILES = [
'README.md',
'readme.md',
'README.MD',