Passed
Pull Request — master (#152)
by
unknown
05:15
created
client/html/src/Client/Html/Account/Profile/Account/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -220,14 +220,17 @@
 block discarded – undo
220 220
         $errors = [];
221 221
 
222 222
         $isValid = true;
223
-        try {
223
+        try
224
+        {
224 225
             Validator::make([
225 226
                 'password' => $values['customer.newpassword'],
226 227
                 'password_confirmation' => $values['customer.confirmnewpassword']
227 228
             ], [
228 229
                 'password' => ['required', 'string', new Password, 'confirmed']
229 230
             ])->validate();
230
-        } catch (\Exception $ex) {
231
+        }
232
+        catch (\Exception $ex)
233
+        {
231 234
             $isValid = false;
232 235
             $errors['passwordRules'] = "The password does not meet the password requirements!";
233 236
         }
Please login to merge, or discard this patch.