Browse Source

refactor: 统一代码风格

runphp 2 weeks ago
parent
commit
65952555ad
5 changed files with 9 additions and 5 deletions
  1. 2 1
      config.php
  2. 2 1
      info.php
  3. 1 0
      route/admin.php
  4. 2 2
      src/Controller/IndexController.php
  5. 2 1
      src/Extension.php

+ 2 - 1
config.php

@@ -1,5 +1,6 @@
 <?php
+
 declare(strict_types=1);
 
 return [
-];
+];

+ 2 - 1
info.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 return [
@@ -13,4 +14,4 @@ return [
     'website' => '', # 扩展的地址,可以是扩展的仓库地址,帮助用户寻找扩展,安装扩展等网络地址
     'image' => '', # 扩展的图片,用于展示扩展的图标,或者是扩展的截图等图片地址
     'license' => 'MIT', # 扩展的开源协议
-];
+];

+ 1 - 0
route/admin.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 use think\facade\Route;

+ 2 - 2
src/Controller/IndexController.php

@@ -1,9 +1,9 @@
 <?php
+
 declare(strict_types=1);
 
 namespace SixShop\PHPInfo\Controller;
 
 class IndexController
 {
-
-}
+}

+ 2 - 1
src/Extension.php

@@ -1,4 +1,5 @@
 <?php
+
 declare(strict_types=1);
 
 namespace SixShop\PHPInfo;
@@ -11,4 +12,4 @@ class Extension extends ExtensionAbstract
     {
         return dirname(__DIR__);
     }
-}
+}