Skip to content

Commit

Permalink
Fix an issue detected by SonarCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Coderberg committed May 5, 2023
1 parent 47b8382 commit a77974b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Controller/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ abstract class BaseController extends AbstractController
{
use MenuTrait;

public function __construct(private readonly SettingsRepository $settingsRepository, protected ManagerRegistry $doctrine)
{
public function __construct(
private readonly SettingsRepository $settingsRepository,
protected ManagerRegistry $doctrine
) {
}

private function searchFields(): array
Expand Down

0 comments on commit a77974b

Please sign in to comment.