@@ -10,6 +10,7 @@ |
||
| 10 | 10 | * @param ValidationProviderInterface $validationProvider |
| 11 | 11 | * @param ValidationResultProcessorInterface $validationResultProcessor |
| 12 | 12 | * @param RulesFactoryInterface $rulesFactory |
| 13 | + * @return void |
|
| 13 | 14 | */ |
| 14 | 15 | public function __construct( |
| 15 | 16 | ValidationProviderInterface $validationProvider, |
@@ -6,6 +6,7 @@ |
||
| 6 | 6 | { |
| 7 | 7 | /** |
| 8 | 8 | * Check if the value is valid when the rule is applied. |
| 9 | + * @return boolean |
|
| 9 | 10 | */ |
| 10 | 11 | public function isValid(); |
| 11 | 12 | |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | public $fieldsErrorBag = null; |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | - * @param ValidationProviderInterface $validationProvider |
|
| 27 | 26 | * @param array $userMessages |
| 28 | 27 | */ |
| 29 | 28 | public function __construct( |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | /** |
| 52 | 52 | * Validator calls captured and remapped here. |
| 53 | 53 | * |
| 54 | - * @return object Validator rule object. |
|
| 54 | + * @return BaseRule Validator rule object. |
|
| 55 | 55 | */ |
| 56 | 56 | public function __call($method, array $params = array()) |
| 57 | 57 | { |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * |
| 88 | 88 | * @param string $type |
| 89 | 89 | * |
| 90 | - * @return array |
|
| 90 | + * @return string |
|
| 91 | 91 | */ |
| 92 | 92 | public function getConfig($type = self::CONFIG_ALL) |
| 93 | 93 | { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | /** |
| 102 | 102 | * If field has specific rule. |
| 103 | 103 | * |
| 104 | - * @param $rule |
|
| 104 | + * @param string $rule |
|
| 105 | 105 | * |
| 106 | 106 | * @return bool |
| 107 | 107 | */ |
@@ -94,7 +94,6 @@ discard block |
||
| 94 | 94 | * |
| 95 | 95 | * @param array $data user request data |
| 96 | 96 | * @param array $rules validation rules |
| 97 | - * @param array $userMessages custom error messages |
|
| 98 | 97 | * |
| 99 | 98 | * @return ValidatorRule |
| 100 | 99 | */ |
@@ -159,7 +158,7 @@ discard block |
||
| 159 | 158 | * |
| 160 | 159 | * @param array $data |
| 161 | 160 | * |
| 162 | - * @return array |
|
| 161 | + * @return string |
|
| 163 | 162 | */ |
| 164 | 163 | private function prepareData(array $data) |
| 165 | 164 | { |