@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Append a tools. |
50 | 50 | * |
51 | - * @param mixed $tool |
|
51 | + * @param string $tool |
|
52 | 52 | * |
53 | 53 | * @return $this |
54 | 54 | */ |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | * |
282 | 282 | * @param Collection $tools |
283 | 283 | * |
284 | - * @return mixed |
|
284 | + * @return string |
|
285 | 285 | */ |
286 | 286 | protected function renderCustomTools($tools) |
287 | 287 | { |
@@ -153,10 +153,10 @@ discard block |
||
153 | 153 | */ |
154 | 154 | protected function getRedirectDeletePath() |
155 | 155 | { |
156 | - if($this->redirectDeletePath === "") |
|
156 | + if ($this->redirectDeletePath === "") |
|
157 | 157 | { |
158 | 158 | return ltrim($this->getResource(), '/'); |
159 | - }else{ |
|
159 | + } else { |
|
160 | 160 | return $this->redirectDeletePath; |
161 | 161 | } |
162 | 162 | } |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | return ''; |
358 | 358 | } |
359 | 359 | |
360 | - return $tools->map(function ($tool) { |
|
360 | + return $tools->map(function($tool) { |
|
361 | 361 | if ($tool instanceof Renderable) { |
362 | 362 | return $tool->render(); |
363 | 363 | } |
@@ -156,7 +156,7 @@ |
||
156 | 156 | if($this->redirectDeletePath === "") |
157 | 157 | { |
158 | 158 | return ltrim($this->getResource(), '/'); |
159 | - }else{ |
|
159 | + } else{ |
|
160 | 160 | return $this->redirectDeletePath; |
161 | 161 | } |
162 | 162 | } |
@@ -165,10 +165,10 @@ discard block |
||
165 | 165 | */ |
166 | 166 | protected function getRedirectDeletePath() |
167 | 167 | { |
168 | - if($this->redirectDeletePath === "") |
|
168 | + if ($this->redirectDeletePath === "") |
|
169 | 169 | { |
170 | 170 | return ltrim($this->getResource(), '/'); |
171 | - }else{ |
|
171 | + } else { |
|
172 | 172 | return $this->redirectDeletePath; |
173 | 173 | } |
174 | 174 | } |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | */ |
322 | 322 | protected function renderCustomTools($tools) |
323 | 323 | { |
324 | - return $tools->map(function ($tool) { |
|
324 | + return $tools->map(function($tool) { |
|
325 | 325 | if ($tool instanceof Renderable) { |
326 | 326 | return $tool->render(); |
327 | 327 | } |
@@ -168,7 +168,7 @@ |
||
168 | 168 | if($this->redirectDeletePath === "") |
169 | 169 | { |
170 | 170 | return ltrim($this->getResource(), '/'); |
171 | - }else{ |
|
171 | + } else{ |
|
172 | 172 | return $this->redirectDeletePath; |
173 | 173 | } |
174 | 174 | } |