Completed
Push — master ( 509746...a01156 )
by Harry
02:02
created
src/ConfigValidatorInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      * @param string      $path
14 14
      * @param Validatable $validator
15 15
      *
16
-     * @return mixed
16
+     * @return ValidatorBuilderTrait
17 17
      */
18 18
     public function required($path, Validatable $validator = null);
19 19
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * @param Validatable $validator
23 23
      * @param mixed       $default
24 24
      *
25
-     * @return mixed
25
+     * @return ValidatorBuilderTrait
26 26
      */
27 27
     public function optional($path, Validatable $validator = null, $default = null);
28 28
 
Please login to merge, or discard this patch.
src/ObjectValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Respect\Validation\Validatable;
10 10
 use Respect\Validation\Validator as v;
11 11
 use stdClass;
12
-use Throwable;
13 12
 
14 13
 class ObjectValidator implements ConfigValidatorInterface
15 14
 {
Please login to merge, or discard this patch.
src/ValidatorBuilderTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * @param string      $path
69 69
      * @param Validatable $validator
70
-     * @param mixed|null  $default
70
+     * @param string  $default
71 71
      *
72 72
      * @return $this
73 73
      */
Please login to merge, or discard this patch.