Completed
Push — master ( b31e17...a9e5d9 )
by Jared
02:30
created
src/Errors.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Gets the model instance for these errors.
54 54
      *
55
-     * @return Model|string|null
55
+     * @return Model
56 56
      */
57 57
     public function getModel()
58 58
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * @param string       $error
151 151
      * @param string|false $locale
152 152
      *
153
-     * @return array
153
+     * @return string
154 154
      */
155 155
     private function parse($property, $error, $locale)
156 156
     {
Please login to merge, or discard this patch.
src/Validator.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -120,7 +120,6 @@  discard block
 block discarded – undo
120 120
      * of parameters to be specified. This example would generate 
121 121
      * [['numeric', []], ['range', [10, 30]]].
122 122
      *
123
-     * @param string $rules
124 123
      *
125 124
      * @return array
126 125
      */
@@ -254,7 +253,6 @@  discard block
 block discarded – undo
254 253
     /**
255 254
      * Validates an e-mail address.
256 255
      *
257
-     * @param string $email      e-mail address
258 256
      * @param array  $parameters parameters for validation
259 257
      *
260 258
      * @return bool success
@@ -284,7 +282,7 @@  discard block
 block discarded – undo
284 282
      *
285 283
      * @param mixed $value
286 284
      *
287
-     * @return bool
285
+     * @return integer
288 286
      */
289 287
     private function date($value)
290 288
     {
@@ -519,7 +517,6 @@  discard block
 block discarded – undo
519 517
      * @param mixed  $value
520 518
      * @param array  $parameters
521 519
      * @param string $name
522
-     * @param Model  $model
523 520
      *
524 521
      * @return bool
525 522
      */
Please login to merge, or discard this patch.