Fix PHPDoc and remove explicit type hint