Completed
Push — master ( ac625a...8e4a6a )
by wen
03:23
created
src/Column/ElColumn.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 
4 4
 namespace Sco\Admin\Column;
5 5
 
6
-use JsonSerializable;
7 6
 use Illuminate\Contracts\Support\Arrayable;
8 7
 use Illuminate\Contracts\Support\Jsonable;
8
+use JsonSerializable;
9 9
 
10 10
 class ElColumn extends Column implements ColumnInterface, Arrayable, Jsonable, JsonSerializable
11 11
 {
Please login to merge, or discard this patch.
src/Exceptions/Handler.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@  discard block
 block discarded – undo
136 136
         }
137 137
     }
138 138
 
139
+    /**
140
+     * @param \Illuminate\Http\Request $request
141
+     */
139 142
     protected function isAdmin($request)
140 143
     {
141 144
         $route = $request->route();
@@ -146,7 +149,7 @@  discard block
 block discarded – undo
146 149
      * @param \Illuminate\Http\Request             $request
147 150
      * @param \Sco\Admin\Exceptions\AdminException $exception
148 151
      *
149
-     * @return \Illuminate\Contracts\Routing\ResponseFactory|\Symfony\Component\HttpFoundation\Response
152
+     * @return \Symfony\Component\HttpFoundation\Response|null
150 153
      */
151 154
     protected function renderAdminException($request, AdminException $exception)
152 155
     {
Please login to merge, or discard this patch.