return bool as PHPDoc states?