Commit 3e9161d6 authored by Jason Lewis's avatar Jason Lewis

Merge pull request #948 from loic-sharma/patch-5

Added a missing parenthesis and semicolon.
parents 1503aed7 eb76c34c
......@@ -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".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment