We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ -23,8 +23,7 @@ | ||
| 23 | 23 | |
| 24 | 24 |          try { | 
| 25 | 25 | $select = app()->version() < 10 ? | 
| 26 | -                        DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"') : | |
| 27 | -                        DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"')->getValue($connection->getQueryGrammar()); | |
| 26 | +                        DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"') : DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"')->getValue($connection->getQueryGrammar()); | |
| 28 | 27 | |
| 29 | 28 | $type = $connection->select($select)[0]->Type; | 
| 30 | 29 |          } catch (\Exception $e) { | 
| @@ -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) { |