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 |
@@ -114,16 +114,16 @@ |
||
114 | 114 | $this->assertTrue($this->crudPanel->hasAccess('list')); |
115 | 115 | } |
116 | 116 | |
117 | - public function testItCanUseAClosureToResolveAccessForMultipleOperations() |
|
118 | - { |
|
119 | - $this->crudPanel->setAccessCondition(['list','create'], function() { |
|
120 | - return true; |
|
121 | - }); |
|
117 | + public function testItCanUseAClosureToResolveAccessForMultipleOperations() |
|
118 | + { |
|
119 | + $this->crudPanel->setAccessCondition(['list','create'], function() { |
|
120 | + return true; |
|
121 | + }); |
|
122 | 122 | |
123 | - $this->assertTrue($this->crudPanel->getAccessCondition('list') instanceof \Closure); |
|
123 | + $this->assertTrue($this->crudPanel->getAccessCondition('list') instanceof \Closure); |
|
124 | 124 | |
125 | - $this->assertTrue($this->crudPanel->hasAccess('list')); |
|
126 | - } |
|
125 | + $this->assertTrue($this->crudPanel->hasAccess('list')); |
|
126 | + } |
|
127 | 127 | |
128 | 128 | public function testItCanCheckIfAnOperationHasAccessConditions() |
129 | 129 | { |