Fixing phpstan error.