add @throw to phpDoc