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 |
@@ -87,10 +87,11 @@ |
||
| 87 | 87 | $stub = str_replace('__APP_COLOR__', $appColor, $stub); |
| 88 | 88 | $stub = str_replace('__BACKPACK_PREFIX__', $backpackPrefix, $stub); |
| 89 | 89 | $stub = str_replace('__PATH_PREFIX__', $pathPrefix, $stub); |
| 90 | - if($pathPrefix!='/') |
|
| 91 | - $stub = str_replace('__PREPEND_SLASH__', '/', $stub); |
|
| 92 | - else |
|
| 93 | - $stub = str_replace('__PREPEND_SLASH__', '', $stub); |
|
| 90 | + if($pathPrefix!='/') { |
|
| 91 | + $stub = str_replace('__PREPEND_SLASH__', '/', $stub); |
|
| 92 | + } else { |
|
| 93 | + $stub = str_replace('__PREPEND_SLASH__', '', $stub); |
|
| 94 | + } |
|
| 94 | 95 | |
| 95 | 96 | File::put($destination, $stub); |
| 96 | 97 | |