Version affected: 1.2.0 Error: `Internal error: Internal error: Class 'self' not found in file ...` When child class tries to call parent methods using keyword `self`. I.e. `self::getValues()` Technically such calls are correct and works, but rule `phpstan.broker.dynamicStaticMethodReturnTypeExtension` breaks execution on it.