Completed
Pull Request — master (#124)
by Issei
02:22
created
EmailValidator/Validation/MultipleValidationWithAnd.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@  discard block
 block discarded – undo
78 78
         return $result;
79 79
     }
80 80
 
81
+    /**
82
+     * @param \Egulias\EmailValidator\Exception\InvalidEmail|null $possibleError
83
+     */
81 84
     private function addNewError($possibleError, array $errors) {
82 85
         if (null !== $possibleError) {
83 86
             $errors[] = $possibleError;
@@ -86,6 +89,9 @@  discard block
 block discarded – undo
86 89
         return $errors;
87 90
     }
88 91
 
92
+    /**
93
+     * @param boolean $result
94
+     */
89 95
     private function shouldStop($result)
90 96
     {
91 97
         return !$result && $this->mode === self::STOP_ON_ERROR;
Please login to merge, or discard this patch.