Skip to content

Commit

Permalink
fix: cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s committed Jan 20, 2024
1 parent b43d29d commit fd98ce1
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 39 deletions.
2 changes: 1 addition & 1 deletion app/Setting/Database/Seeders/setting_crontab.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
use Hyperf\Database\Seeders\Seeder;
use Hyperf\DbConnection\Db;

class SettingCrontab extends Seeder
class SettingCrontabSeeder extends Seeder
{
/**
* Run the database seeds.
Expand Down
2 changes: 1 addition & 1 deletion app/System/Model/SystemApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

use Carbon\Carbon;
use Hyperf\Database\Model\Relations\BelongsToMany;
use Hyperf\Database\Model\Relations\hasMany;
use Hyperf\Database\Model\Relations\HasMany;
use Hyperf\Database\Model\Relations\HasOne;
use Hyperf\Database\Model\SoftDeletes;
use Mine\MineModel;
Expand Down
2 changes: 1 addition & 1 deletion app/System/Model/SystemApiGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace App\System\Model;

use Carbon\Carbon;
use Hyperf\Database\Model\Relations\hasMany;
use Hyperf\Database\Model\Relations\HasMany;
use Hyperf\Database\Model\SoftDeletes;
use Mine\MineModel;

Expand Down
11 changes: 2 additions & 9 deletions config/autoload/databases.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
Expand All @@ -9,15 +11,6 @@
*/
use Hyperf\ModelCache\Handler\RedisHandler;

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
* @see https://www.mineadmin.com
* @document https://doc.mineadmin.com
* @contact [email protected]
* @license https://github.com/mineadmin/MineAdmin/blob/master/LICENSE
*/
return [
'default' => [
'driver' => env('DB_DRIVER', 'mysql'),
Expand Down
11 changes: 2 additions & 9 deletions config/autoload/file.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
Expand All @@ -15,15 +17,6 @@
use Hyperf\Filesystem\Adapter\QiniuAdapterFactory;
use Hyperf\Filesystem\Adapter\S3AdapterFactory;

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
* @see https://www.mineadmin.com
* @document https://doc.mineadmin.com
* @contact [email protected]
* @license https://github.com/mineadmin/MineAdmin/blob/master/LICENSE
*/
return [
'default' => 'local',
'storage' => [
Expand Down
11 changes: 2 additions & 9 deletions config/autoload/middlewares.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
Expand All @@ -10,15 +12,6 @@
use Hyperf\Validation\Middleware\ValidationMiddleware;
use Mine\Middlewares\CheckModuleMiddleware;

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
* @see https://www.mineadmin.com
* @document https://doc.mineadmin.com
* @contact [email protected]
* @license https://github.com/mineadmin/MineAdmin/blob/master/LICENSE
*/
return [
'http' => [
CheckModuleMiddleware::class,
Expand Down
11 changes: 2 additions & 9 deletions config/autoload/translatable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
Expand All @@ -9,15 +11,6 @@
*/
use Mine\Translatable\Validation\RuleFactory;

declare(strict_types=1);
/**
* This file is part of MineAdmin.
*
* @see https://www.mineadmin.com
* @document https://doc.mineadmin.com
* @contact [email protected]
* @license https://github.com/mineadmin/MineAdmin/blob/master/LICENSE
*/
return [
/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit fd98ce1

Please sign in to comment.