Skip to content

Commit

Permalink
chore: remove legacy linter
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Mendiola <[email protected]>
  • Loading branch information
MissAllSunday committed Jul 4, 2023
1 parent cbb0c25 commit b7bd802
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion Sources/Breeze/Controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Breeze\Controller;

use Breeze\Breeze;
use Breeze\Entity\SettingsEntity;
use Breeze\Service\Actions\AdminServiceInterface;
use Breeze\Traits\PersistenceTrait;

Expand Down
1 change: 0 additions & 1 deletion Sources/Breeze/Service/Actions/AdminService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace Breeze\Service\Actions;

use Breeze\Breeze;
use Breeze\Entity\SettingsEntity;
use Breeze\Service\PermissionsService;
use Breeze\Util\Form\SettingsBuilderInterface;
use Breeze\Util\Permissions;
Expand Down
1 change: 0 additions & 1 deletion Sources/Breeze/Util/Components.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Breeze\Util;

use Breeze\Breeze;
use Breeze\Entity\SettingsEntity;
use Breeze\Traits\TextTrait;

class Components
Expand Down
6 changes: 1 addition & 5 deletions Sources/Breeze/Util/Form/Types/SelectType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Breeze\Util\Form\Types;

use Breeze\Breeze;
use Breeze\Entity\SettingsEntity;

class SelectType extends ValueFormatter implements ValueFormatterInterface
{
Expand All @@ -22,9 +21,6 @@ public function getConfigVar(string $settingName, string $settingType): array

private function getSettingOptions(string $settingName): array
{
$this->setLanguage('ManageSettings');
$context = $this->global('context');

return $allSelectOptions[$settingName] ?? [];
return [];
}
}

0 comments on commit b7bd802

Please sign in to comment.