Minor change, just removing unnecessary code

This commit is contained in:
Emerson Carvalho 2011-09-14 14:43:16 -03:00 committed by emerson
parent e51d33a850
commit 1845ecf021

View file

@ -7,7 +7,7 @@ class JSON extends AbstractRule
public function validate($input)
{
return (json_decode($input));
return (bool) (json_decode($input));
}
}