Browse Source

Update the docblock for the CsrfFilter.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Jason Lewis 10 years ago
parent
commit
5bdf965a72
1 changed files with 6 additions and 2 deletions
  1. 6 2
      app/Http/Filters/CsrfFilter.php

+ 6 - 2
app/Http/Filters/CsrfFilter.php

@@ -10,7 +10,11 @@ class CsrfFilter {
 	/**
 	 * Run the request filter.
 	 *
-	 * @return mixed
+	 * @param  \Illuminate\Routing\Route  $route
+	 * @param  \Illuminate\Http\Request  $request
+	 * @return void
+	 * 
+	 * @throws \Illuminate\Session\TokenMismatchException
 	 */
 	public function filter(Route $route, Request $request)
 	{
@@ -20,4 +24,4 @@ class CsrfFilter {
 		}
 	}
 
-}
+}