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