Whitespace [ci skip]
Fixed type hint in PHPDoc annotation + improved type checking