rector/config/set/unwrap-compat.php
Tomas Votruba bdc3ab220b Updated Rector to commit 3720a55f51976fe5ff145af739ef3106cc65a8f6
3720a55f51 [TypeDeclaration] Use @return type on Generator on ReturnTypeDeclarationRector (#1794)
2022-02-12 12:13:46 +00:00

12 lines
522 B
PHP

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