From 75cc5a7e2e1960bac25eec1deff87e6b2fca00a4 Mon Sep 17 00:00:00 2001 From: John in 't Hout Date: Thu, 9 Oct 2014 23:28:45 +0200 Subject: [PATCH] Added @throws TokenMismatchException Since modern IDE's will expect you to define the @throws attribute, added this to the Docblock. --- app/Http/Middleware/CsrfMiddleware.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Middleware/CsrfMiddleware.php b/app/Http/Middleware/CsrfMiddleware.php index 0b81362e..37b873bb 100644 --- a/app/Http/Middleware/CsrfMiddleware.php +++ b/app/Http/Middleware/CsrfMiddleware.php @@ -11,6 +11,7 @@ class CsrfMiddleware implements Middleware { * * @param \Illuminate\Http\Request $request * @param \Closure $next + * @throws TokenMismatchException * @return mixed */ public function handle($request, Closure $next)