Fixed to unit tests

This commit is contained in:
Simon Sessingø
2016-11-15 05:57:04 +01:00
parent a13bcd4768
commit 9513e38009
4 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
class ExceptionHandler implements \Pecee\Handler\IExceptionHandler {
public function handleError(\Pecee\Http\Request $request, \Pecee\SimpleRouter\RouterEntry $router = null, \Exception $error){
public function handleError(\Pecee\Http\Request $request, \Pecee\SimpleRouter\RouterEntry &$route = null, \Exception $error){
throw $error;
}