Passed
Push — master ( a3ceaf...637623 )
by Dedipyaman
02:09
created
src/Type/Password.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @throws InvalidValue
26 26
      * @throws \Phypes\Exception\InvalidRule
27 27
      */
28
-    public function __construct(string $password, $options =[], Validator $validator = null)
28
+    public function __construct(string $password, $options = [ ], Validator $validator = null)
29 29
     {
30 30
         if ($validator == null) {
31 31
             // use the default validator
Please login to merge, or discard this patch.
src/Type/Required.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function __construct(Type $type)
28 28
     {
29 29
         if (empty($type->getValue()))
30
-            throw new EmptyRequiredValue('The required type '. get_class($type) . ' cannot have an empty value');
30
+            throw new EmptyRequiredValue('The required type ' . get_class($type) . ' cannot have an empty value');
31 31
 
32 32
         $this->type = $type;
33 33
     }
Please login to merge, or discard this patch.