rector/config/level/sylius/sylius102.yaml

7 lines
313 B
YAML

# source: https://github.com/Sylius/Sylius/blob/master/UPGRADE-1.0.md#upgrade-from-101-to-102
services:
Rector\Rector\ClassMethod\AddReturnTypeDeclarationRector:
Sylius\Bundle\AdminApiBundle\Model\ClientManager:
findClientByPublicId: '?Sylius\Bundle\AdminApiBundle\Model\ClientInterface'