Fix a misspelled class name casing in a @var docblock to match the real class name
-/** @var AutomailingService */
+/** @var AutoMailingService */
$service = $this->getService();
Configure your rector.php:
<?php
use Rector\CodeQuality\Rector\Property\FixClassCaseSensitivityVarDocblockRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withRules([
FixClassCaseSensitivityVarDocblockRector::class,
]);