fixed bugs in validation classes.

This commit is contained in:
Taylor Otwell
2011-06-21 22:22:52 -05:00
parent 471ba2f8ae
commit 78301fb8c7
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ class Format_Of extends Rule {
* @param string $expression
* @return Format_Of
*/
public function with($expression)
public function using($expression)
{
$this->expression = $expression;
return $this;