We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -224,10 +224,10 @@ |
||
224 | 224 | // add the details_row button to the first column |
225 | 225 | if ($this->getOperationSetting('detailsRow')) { |
226 | 226 | $details_row_button = \View::make('crud::columns.inc.details_row_button') |
227 | - ->with('crud', $this) |
|
228 | - ->with('entry', $entry) |
|
229 | - ->with('row_number', $rowNumber) |
|
230 | - ->render(); |
|
227 | + ->with('crud', $this) |
|
228 | + ->with('entry', $entry) |
|
229 | + ->with('row_number', $rowNumber) |
|
230 | + ->render(); |
|
231 | 231 | $row_items[0] = $details_row_button.$row_items[0]; |
232 | 232 | } |
233 | 233 |
@@ -389,10 +389,12 @@ |
||
389 | 389 | return $this->fallbackLogic($value); |
390 | 390 | } |
391 | 391 | |
392 | - public function else($value) |
|
392 | + public function else { |
|
393 | + ($value) |
|
393 | 394 | { |
394 | 395 | return $this->fallbackLogic($value); |
395 | 396 | } |
397 | + } |
|
396 | 398 | |
397 | 399 | // --------------- |
398 | 400 | // PRIVATE METHODS |
@@ -298,8 +298,7 @@ discard block |
||
298 | 298 | if($abortIfNotExist) { |
299 | 299 | abort(500, 'Button name [«' . $btnKey . '»] not found.', ['developer-error-exception']); |
300 | 300 | } |
301 | - } |
|
302 | - else { |
|
301 | + } else { |
|
303 | 302 | $startItems[] = $btnKey; |
304 | 303 | } |
305 | 304 | } |
@@ -336,8 +335,7 @@ discard block |
||
336 | 335 | if($abortIfNotExist) { |
337 | 336 | abort(500, 'Button name [«' . $btnKey . '»] not found.', ['developer-error-exception']); |
338 | 337 | } |
339 | - } |
|
340 | - else { |
|
338 | + } else { |
|
341 | 339 | $endItems[] = $btnKey; |
342 | 340 | } |
343 | 341 | } |