@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | foreach ($sortFields as $sortField) { |
47 | 47 | if (isset($dbFields[$sortField])) { |
48 | 48 | // This is just a precaution to ensure we got a GridField from dataFieldByName() which you should have |
49 | - if (! $config->getComponentByType(GridFieldSortableRows::class)) { |
|
49 | + if (!$config->getComponentByType(GridFieldSortableRows::class)) { |
|
50 | 50 | $obj = $owner->modelClass::singleton(); |
51 | 51 | if ($obj->hasExtension(Versioned::class)) { |
52 | 52 | $sorter = (new GridFieldSortableRows($sortField)) |
@@ -107,9 +107,9 @@ discard block |
||
107 | 107 | { |
108 | 108 | $owner = $this->getOwner(); |
109 | 109 | $excludedModelAdmins = $owner->config()->get('excluded_modeladmins_from_ssu_extension'); |
110 | - if (! in_array(get_class($owner), $excludedModelAdmins, true)) { |
|
110 | + if (!in_array(get_class($owner), $excludedModelAdmins, true)) { |
|
111 | 111 | $excludedModels = $owner->config()->get('excluded_models_from_ssu_extension'); |
112 | - if (! in_array($owner->modelClass, $excludedModels, true)) { |
|
112 | + if (!in_array($owner->modelClass, $excludedModels, true)) { |
|
113 | 113 | return true; |
114 | 114 | } |
115 | 115 | } |