Completed
Pull Request — develop (#63)
by
unknown
05:40
created
src/ValueValidator.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
     protected $label;
44 44
 
45 45
 
46
+    /**
47
+     * @param string $label
48
+     */
46 49
     public function __construct(
47 50
         RuleFactory $ruleFactory = null,
48 51
         ErrorMessage $errorMessagePrototype = null,
@@ -149,7 +152,7 @@  discard block
 block discarded – undo
149 152
     }
150 153
 
151 154
     /**
152
-     * @param AbstractValidator $validationRule
155
+     * @param AbstractRule $validationRule
153 156
      *
154 157
      * @return ValueValidator
155 158
      */
@@ -275,6 +278,9 @@  discard block
 block discarded – undo
275 278
         return count($this->messages) === 0;
276 279
     }
277 280
 
281
+    /**
282
+     * @param null|DataWrapper\WrapperInterface $context
283
+     */
278 284
     private function validateRule($rule, $value, $valueIdentifier, $context)
279 285
     {
280 286
         $rule->setContext($context);
Please login to merge, or discard this patch.
src/RuleFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     }
200 200
 
201 201
     /**
202
-     * @param $name
202
+     * @param callable $name
203 203
      * @param $options
204 204
      *
205 205
      * @return CallbackRule
Please login to merge, or discard this patch.