src/Settings/Pages/ReportList.php
Method registerSettings
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function registerSettings()
{
register_setting(
'einsatzvw_settings_list',
'einsatzvw_list_columns',
Method echoFieldColumns
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function echoFieldColumns()
{
$columnRepository = ColumnRepository::getInstance();
$columnIdentifiers = explode(',', get_option('einsatzvw_list_columns', ''));
$enabledColumns = $columnRepository->getColumnsByIdentifier($columnIdentifiers);