Add missing $cookies argument/PHPdoc