Skip to content
Snippets Groups Projects
Commit b1ff84ba authored by Kevin Appelt's avatar Kevin Appelt Committed by Stefan Bürk
Browse files

[TASK] Avoid usage of deprecated TaggedLocator

Use #[AutowireLocator] instead.

Resolves: #104262
Related: #103437
Releases: main
Change-Id: Iee77653ec3a1cf8ba1513439239834561043e240
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85011


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 6b3eab4c
Branches
Tags
No related merge requests found
......@@ -17,7 +17,7 @@ declare(strict_types=1);
namespace TYPO3\CMS\Core\Settings;
use Symfony\Component\DependencyInjection\Attribute\TaggedLocator;
use Symfony\Component\DependencyInjection\Attribute\AutowireLocator;
use Symfony\Component\DependencyInjection\ServiceLocator;
/**
......@@ -26,7 +26,7 @@ use Symfony\Component\DependencyInjection\ServiceLocator;
final readonly class SettingsTypeRegistry
{
public function __construct(
#[TaggedLocator('settings.type')]
#[AutowireLocator('settings.type')]
private ServiceLocator $types
) {}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment