Failed Conditions
Pull Request — master (#188)
by
unknown
01:46
created
src/Xml/XmlMandateParser.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Xml;
24 24
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
                         $mandate->readElement('/MedgivandeViaHemsida/Betalarnummer', new PayerNumberValidator)
151 151
                     );
152 152
                 }
153
-                catch(ValidatorException $e) {
153
+                catch (ValidatorException $e) {
154 154
                     $this->donorBuilder->setPayerNumber(
155 155
                         $mandate->readElement('/MedgivandeViaHemsida/Kontoinnehavarens_x0020_personnr', new IdValidator)
156 156
                     );
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,8 +149,7 @@
 block discarded – undo
149 149
                     $this->donorBuilder->setPayerNumber(
150 150
                         $mandate->readElement('/MedgivandeViaHemsida/Betalarnummer', new PayerNumberValidator)
151 151
                     );
152
-                }
153
-                catch(ValidatorException $e) {
152
+                } catch(ValidatorException $e) {
154 153
                     $this->donorBuilder->setPayerNumber(
155 154
                         $mandate->readElement('/MedgivandeViaHemsida/Kontoinnehavarens_x0020_personnr', new IdValidator)
156 155
                     );
Please login to merge, or discard this patch.