@@ -76,10 +76,10 @@ discard block |
||
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 |
||
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 |