import(__DIR__ . '/laravel-array-str-functions-to-static-call.php'); $services = $containerConfigurator->services(); $services->set(MinutesToSecondsInCacheRector::class); $services->set(AddReturnTypeDeclarationRector::class) ->call('configure', [[ AddReturnTypeDeclarationRector::TYPEHINT_FOR_METHOD_BY_CLASS => [ 'Illuminate\Contracts\Cache\Repository' => [ 'put' => 'bool', 'forever' => 'bool', ], 'Illuminate\Contracts\Cache\Store' => [ 'put' => 'bool', 'putMany' => 'bool', 'forever' => 'bool', ], ], ]]); $services->set(RenamePropertyRector::class) ->call('configure', [[ RenamePropertyRector::OLD_TO_NEW_PROPERTY_BY_TYPES => [ 'Illuminate\Routing\UrlGenerator' => [ 'cachedSchema' => 'cachedScheme', ], ], ]]); };