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 |
@@ -154,7 +154,7 @@ |
||
154 | 154 | if(isset($value[$keyName])) { |
155 | 155 | $relation->newPivot()->where($keyName, $value[$keyName])->update($this->preparePivotAttributesForUpdate($value, $relation)); |
156 | 156 | } else { |
157 | - $relation->newPivot()->create($this->preparePivotAttributesForCreate($value, $relation, $item->getKey())); |
|
157 | + $relation->newPivot()->create($this->preparePivotAttributesForCreate($value, $relation, $item->getKey())); |
|
158 | 158 | } |
159 | 159 | } |
160 | 160 | break; |