diff --git a/src/Middleware.php b/src/Middleware.php index ecd47b5..93f50aa 100755 --- a/src/Middleware.php +++ b/src/Middleware.php @@ -52,7 +52,7 @@ final public function getNextMiddleware() /** * Call the next middleware - * + * * @param mixed $data Data to pass to the next middleware/route */ final public function next($data = null) diff --git a/tests/middleware.test.php b/tests/middleware.test.php index 1232fa0..54e9169 100644 --- a/tests/middleware.test.php +++ b/tests/middleware.test.php @@ -36,7 +36,7 @@ class AppMid2 extends \Leaf\Middleware public function call() { $this->next([ - 'data' => 'Some data' + 'data' => 'Some data', ]); } }