mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -26,20 +26,8 @@ use function strtr;
|
||||
|
||||
class SearchApi
|
||||
{
|
||||
private EntityManagerInterface $em;
|
||||
|
||||
private PaginatorFactory $paginator;
|
||||
|
||||
private iterable $providers;
|
||||
|
||||
public function __construct(
|
||||
EntityManagerInterface $em,
|
||||
iterable $providers,
|
||||
PaginatorFactory $paginator
|
||||
) {
|
||||
$this->em = $em;
|
||||
$this->providers = $providers;
|
||||
$this->paginator = $paginator;
|
||||
public function __construct(private EntityManagerInterface $em, private iterable $providers, private PaginatorFactory $paginator)
|
||||
{
|
||||
}
|
||||
|
||||
public function getResults(string $pattern, array $types, array $parameters): Collection
|
||||
|
Reference in New Issue
Block a user