Passed
Push — master ( 67401d...05fecb )
by Hamzah
05:32
created
src/Utility/Controller.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
         }
77 77
         $limit = $request->get('limit', 10);
78 78
 
79
-        if ((bool)$request->get('with-trash', false)) {
79
+        if ((bool) $request->get('with-trash', false)) {
80 80
             $interface->withTrash();
81 81
         }
82
-        if ((bool)$request->get('only-trash', false)) {
82
+        if ((bool) $request->get('only-trash', false)) {
83 83
             $interface->trash();
84 84
         }
85 85
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             View::share('selectedMenu', $this->selectedMenu);
128 128
         }
129 129
         $this->resource = $resource;
130
-        if(is_null($resource)){
130
+        if (is_null($resource)) {
131 131
             $this->resource = new JsonResource([]);
132 132
         }
133 133
 
Please login to merge, or discard this patch.