Browse Source

Added a missing parenthesis and semicolon.

Loic Sharma 12 years ago
parent
commit
eb76c34cd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/validation.md

+ 1 - 1
laravel/documentation/validation.md

@@ -417,7 +417,7 @@ As mentioned above, you may even specify and receive a list of parameters in you
 	Validator::register('awesome', function($attribute, $value, $parameters)
 	{
 	    return $value == $parameters[0];
-	}
+	});
 
 In this case, the parameters argument of your validation rule would receive an array containing one element: "yes".