We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php | ||
| 5 | trait ShowDetailsRow { | ||
| 6 | |||
| 7 | /** | ||
| 8 | * Used with AJAX in the list view (datatables) to show extra information about that row that didn't fit in the table. | ||
|  | |||
| 9 | * It defaults to showing some dummy text. | ||
| 10 | * | ||
| 11 | * It's enabled by: | ||
| 12 | * - setting: $crud->details_row = true; | ||
| 13 |      * - adding the details route for the entity; ex: Route::get('page/{id}/details', 'PageCrudController@showDetailsRow'); | ||
| 14 | * - adding a view with the following name to change what the row actually contains: app/resources/views/vendor/backpack/crud/details_row.blade.php | ||
| 15 | */ | ||
| 16 | public function showDetailsRow($id) | ||
| 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.