Completed
Pull Request — master (#6)
by Paulius
06:21 queued 02:32
created
tests/Validator/Constraints/PhoneValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
         $this->buildViolation('myMessage')
85 85
             ->setParameter('{{ value }}', '"'.$phone.'"')
86
-            ->setCode(defined('Isign\Validator\Constraints\Phone::REGEX_FAILED_ERROR')?Phone::REGEX_FAILED_ERROR:null)
86
+            ->setCode(defined('Isign\Validator\Constraints\Phone::REGEX_FAILED_ERROR') ? Phone::REGEX_FAILED_ERROR : null)
87 87
             ->assertRaised();
88 88
     }
89 89
 
Please login to merge, or discard this patch.
tests/Validator/Constraints/CodeValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         $this->buildViolation('myMessage')
84 84
             ->setParameter('{{ value }}', '"'.$code.'"')
85
-            ->setCode(defined('Isign\Validator\Constraints\Code::REGEX_FAILED_ERROR')?Code::REGEX_FAILED_ERROR:null)
85
+            ->setCode(defined('Isign\Validator\Constraints\Code::REGEX_FAILED_ERROR') ? Code::REGEX_FAILED_ERROR : null)
86 86
             ->assertRaised();
87 87
     }
88 88
 
Please login to merge, or discard this patch.
src/Login/MobileCertificate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * Validation constraints for fields
78
-     * @return array
78
+     * @return Assert\Collection
79 79
      */
80 80
     public function getValidationConstraints()
81 81
     {
Please login to merge, or discard this patch.