Updating method signatures and phpdoc