mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
c509923516
[Feature] Add ParamAnnotationIncorrectNullableRector for fixing incorrect null type in @param (#2069)
12 lines
398 B
PHP
12 lines
398 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220414;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfFunctionExistsRector;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$services = $rectorConfig->services();
|
|
$services->set(\Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfFunctionExistsRector::class);
|
|
};
|