Completed
Push — master ( 14152b...08794d )
by wen
10:50
created
database/seeds/PermissionsTableSeeder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@
 block discarded – undo
24 24
         $this->storePermission('delete_permission', '删除权限');
25 25
     }
26 26
 
27
+    /**
28
+     * @param string $name
29
+     * @param string $displayName
30
+     */
27 31
     private function storePermission($name, $displayName, $description = '')
28 32
     {
29 33
         $permissionModelName = config('entrust.permission');
Please login to merge, or discard this patch.
src/Providers/AdminServiceProvider.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 use Sco\Admin\Contracts\RepositoryInterface;
11 11
 use Sco\Admin\Contracts\View\ColumnFactoryInterface;
12 12
 use Sco\Admin\Contracts\View\ViewFactoryInterface;
13
-use Sco\Admin\Form\ElementFactory;
14 13
 use Sco\Admin\Exceptions\Handler;
14
+use Sco\Admin\Form\ElementFactory;
15 15
 use Sco\Admin\Form\FormFactory;
16 16
 use Sco\Admin\Repositories\Repository;
17 17
 use Sco\Admin\View\ColumnFactory;
Please login to merge, or discard this patch.
src/Exceptions/Handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
      * @param \Illuminate\Http\Request                $request
154 154
      * @param \Sco\Admin\Contracts\ExceptionInterface $exception
155 155
      *
156
-     * @return \Illuminate\Contracts\Routing\ResponseFactory|\Symfony\Component\HttpFoundation\Response
156
+     * @return \Symfony\Component\HttpFoundation\Response|null
157 157
      */
158 158
     protected function renderAdminException(
159 159
         $request,
Please login to merge, or discard this patch.