phpdoc fixed to reflect type hinting update