Completed
Branch master (b7a0b6)
by Adrian
04:26 queued 02:31
created
src/RuleFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      *            label of the form input field or model attribute
133 133
      *
134 134
      * @throws \InvalidArgumentException
135
-     * @return \Sirius\Validation\Rule\AbstractValidator
135
+     * @return CallbackRule
136 136
      */
137 137
     public function createRule($name, $options = null, $messageTemplate = null, $label = null)
138 138
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
     }
195 195
 
196 196
     /**
197
-     * @param $name
197
+     * @param callable $name
198 198
      * @param $options
199 199
      *
200 200
      * @return CallbackRule
Please login to merge, or discard this patch.
src/ValueValidator.php 1 patch
Doc Comments   +4 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
      */
Please login to merge, or discard this patch.