mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -20,14 +20,8 @@ use function array_key_exists;
|
||||
|
||||
class MetadataExtractor
|
||||
{
|
||||
private Registry $registry;
|
||||
|
||||
private TranslatableStringHelperInterface $translatableStringHelper;
|
||||
|
||||
public function __construct(Registry $registry, TranslatableStringHelperInterface $translatableStringHelper)
|
||||
public function __construct(private Registry $registry, private TranslatableStringHelperInterface $translatableStringHelper)
|
||||
{
|
||||
$this->registry = $registry;
|
||||
$this->translatableStringHelper = $translatableStringHelper;
|
||||
}
|
||||
|
||||
public function availableWorkflowFor(string $relatedEntityClass, ?int $relatedEntityId = 0): array
|
||||
|
Reference in New Issue
Block a user