We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | <?php |
| 29 | 29 | function tree_element($entry, $key, $all_entries, $crud) |
| 30 | 30 | { |
| 31 | - if (! isset($entry->tree_element_shown)) { |
|
| 31 | + if (!isset($entry->tree_element_shown)) { |
|
| 32 | 32 | // mark the element as shown |
| 33 | 33 | $all_entries[$key]->tree_element_shown = true; |
| 34 | 34 | $entry->tree_element_shown = true; |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | <ol class="sortable mt-0"> |
| 72 | 72 | <?php |
| 73 | 73 | $all_entries = collect($entries->all())->sortBy('lft')->keyBy($crud->getModel()->getKeyName()); |
| 74 | - $root_entries = $all_entries->filter(function ($item) { |
|
| 74 | + $root_entries = $all_entries->filter(function($item) { |
|
| 75 | 75 | return $item->parent_id == 0; |
| 76 | 76 | }); |
| 77 | 77 | foreach ($root_entries as $key => $entry) { |