@@ -228,8 +228,8 @@ |
||
228 | 228 | $type = 'datetime'; |
229 | 229 | } |
230 | 230 | |
231 | - $typeClassName = ucwords($type) . 'Validator'; |
|
232 | - $validatorFile = dirname(dirname(__FILE__)) . "/Validate/$validationType/$typeClassName.php"; |
|
231 | + $typeClassName = ucwords($type).'Validator'; |
|
232 | + $validatorFile = dirname(dirname(__FILE__))."/Validate/$validationType/$typeClassName.php"; |
|
233 | 233 | |
234 | 234 | if (!file_exists($validatorFile) || !is_readable($validatorFile)) { |
235 | 235 | throw new \Exception("Could not load the validator file for $validationType $type."); |