removed faulty code

This commit is contained in:
Patrick 2014-11-06 22:34:31 +01:00
parent e2f077f8d9
commit adba44c3c0

View file

@ -13,13 +13,6 @@ Install the Auryn package and then create a new file called `Dependencies.php` i
$injector = new \Auryn\Provider; $injector = new \Auryn\Provider;
$injector->share('Http\CookieBuilder');
$injector->delegate('Http\CookieBuilder', function($environment){
$cookieBuilder = new \Http\CookieBuilder;
$cookieBuilder->setDefaultSecure($environment === 'production');
return $cookieBuilder;
});
$injector->alias('Http\Response', 'Http\HttpResponse'); $injector->alias('Http\Response', 'Http\HttpResponse');
$injector->share('Http\HttpRequest'); $injector->share('Http\HttpRequest');
$injector->define('Http\HttpRequest', [ $injector->define('Http\HttpRequest', [