Commit 7d06d1a3 authored by Arnaud Buathier's avatar Arnaud Buathier

fix useless code

parent a9699693
......@@ -35,7 +35,7 @@ class Kernel
*/
private $eventListener;
public function __construct(Config $config, Request $request)
public function __construct(Config $config)
{
$this->config = $config;
$this->eventListener = new EventListener();
......
......@@ -32,6 +32,6 @@ function run(array $config)
}
);
$kernel = new Kernel(new Config($config), Request::createFromGlobals());
$kernel = new Kernel(new Config($config));
$kernel->handle(Request::createFromGlobals())->send();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment