|
@@ -112,11 +112,11 @@ |
|
|
block discarded – undo |
|
112
|
112
|
@param Model \$model The entire model, if your field depends on other things of the model. may be null. |
|
113
|
113
|
@throws Exception If invalid, with the message. |
|
114
|
114
|
@return mixed The validated value.') |
|
115
|
|
- ->setBody("throw new ValidatorException('Not implemented');"); |
|
|
115
|
+ ->setBody("throw new ValidatorException('Not implemented');"); |
|
116
|
116
|
|
|
117
|
117
|
$validateMethod->addParameter('value'); |
|
118
|
118
|
$validateMethod->addParameter('model', null) |
|
119
|
|
- ->setType('\Formularium\Model'); |
|
|
119
|
+ ->setType('\Formularium\Model'); |
|
120
|
120
|
|
|
121
|
121
|
if ($classCallback) { |
|
122
|
122
|
$classCallback($class); |
Please login to merge, or discard this patch.