typo...
added @method for the scrutinizer tools
removed most of $_SERVER and $_COOKIE calls