We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 16 | public function showDetailsRow($id) |
||
| 17 | { |
||
| 18 | $this->crud->hasAccessOrFail('details_row'); |
||
| 19 | |||
| 20 | $this->data['entry'] = $this->crud->getEntry($id); |
||
| 21 | $this->data['crud'] = $this->crud; |
||
| 22 | |||
| 23 | // load the view from /resources/views/vendor/backpack/crud/ if it exists, otherwise load the one in the package |
||
| 24 | return view('crud::details_row', $this->data); |
||
| 25 | } |
||
| 26 | |||
| 27 | } |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.