@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | namespace Maslosoft\Mangan\Helpers\Decorator; |
15 | 15 | |
16 | -use Maslosoft\Mangan\Decorators\Undecorated; |
|
17 | 16 | use Maslosoft\Mangan\Exceptions\ManganException; |
18 | 17 | use Maslosoft\Mangan\Interfaces\Decorators\Model\ModelDecoratorInterface; |
19 | 18 | use Maslosoft\Mangan\Interfaces\Decorators\Property\DecoratorInterface; |
@@ -83,6 +83,10 @@ |
||
83 | 83 | */ |
84 | 84 | public $msgLength = ''; |
85 | 85 | |
86 | + /** |
|
87 | + * @param \Maslosoft\Addendum\Interfaces\AnnotatedInterface $model |
|
88 | + * @param integer $value |
|
89 | + */ |
|
86 | 90 | protected function isValidValueOf($model, $attribute, $value, $label = '') |
87 | 91 | { |
88 | 92 | if ($this->allowEmpty && empty($value)) |