rector/rules-tests/TypeDeclaration/Rector/ClassMethod/ParamTypeByParentCallTypeRector/config/configured_rule.php

13 lines
392 B
PHP

<?php
declare(strict_types=1);
use Rector\TypeDeclaration\Rector\ClassMethod\ParamTypeByParentCallTypeRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$services = $containerConfigurator->services();
$services->set(ParamTypeByParentCallTypeRector::class);
};