Currently you can't override `getConfig(): MyCustomConfig` as it must be compatible with `getConfig(): BaseConfig`. * Failing: https://3v4l.org/QWY1M * Works like this: https://3v4l.org/aVgmG * ~PhpStan complains, but we could ignore it: https://phpstan.org/r/6a146d7a-2439-411f-8ad5-74b4f9df55c7~ * PHPStan does not complain (I forgot ChildReturn extends ParentReturn - to make it covariant) https://phpstan.org/r/359a65e0-b9b3-4279-96a0-94e0d00be951
Currently you can't override
getConfig(): MyCustomConfigas it must be compatible withgetConfig(): BaseConfig.PhpStan complains, but we could ignore it: https://phpstan.org/r/6a146d7a-2439-411f-8ad5-74b4f9df55c7