mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-12 03:25:27 +01:00
14 lines
572 B
PHP
14 lines
572 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
use Rector\DowngradePhp72\Rector\FunctionLike\DowngradeParamObjectTypeDeclarationRector;
|
||
|
use Rector\DowngradePhp72\Rector\FunctionLike\DowngradeReturnObjectTypeDeclarationRector;
|
||
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||
|
|
||
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
||
|
$services = $containerConfigurator->services();
|
||
|
$services->set(DowngradeParamObjectTypeDeclarationRector::class);
|
||
|
$services->set(DowngradeReturnObjectTypeDeclarationRector::class);
|
||
|
};
|