]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/filter/validator/class_PasswordValidatorFilter.php
Continued:
[core.git] / framework / main / classes / filter / validator / class_PasswordValidatorFilter.php
index fd7eb350b8bed2d4a0f7eed40b2d6946d1d00bde..87a8ebe6f0caa5f27e1fd1fc266f909c24ac9109 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2021 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -87,13 +87,13 @@ class PasswordValidatorFilter extends BaseFilter implements Filterable {
                        if (empty($password1)) {
                                // Add a message to the response
                                $responseInstance->addFatalMessage('pass1_empty');
-                       } // END - if
+                       }
 
                        // Is the confirmation empty?
                        if (empty($password2)) {
                                // Add a message to the response
                                $responseInstance->addFatalMessage('pass2_empty');
-                       } // END - if
+                       }
 
                        // Abort here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
@@ -106,7 +106,7 @@ class PasswordValidatorFilter extends BaseFilter implements Filterable {
 
                        // Abort here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
-               } // END - elseif
+               }
        }
 
 }