Passed
Push — master ( c4d61a...5ccc42 )
by Sebastian
02:37
created
src/Mailcode/Parser/Safeguard/Placeholder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     
70 70
     public function getReplacementText() : string
71 71
     {
72
-        if(!empty($this->replacement))
72
+        if (!empty($this->replacement))
73 73
         {
74 74
             return $this->replacement;
75 75
         }
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         // to total amount of zeroes to pad with to obtain the total length
88 88
         $padLength = $this->getLength() - $length;
89 89
         
90
-        if($padLength < 0) 
90
+        if ($padLength < 0) 
91 91
         {
92 92
             $padLength = 0;
93 93
         }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         // as padding character, there is no ambiguity. It becomes
105 105
         // "1------------" and "10-----------", keeping the ID intact.
106 106
 
107
-        $paddedID  = str_pad((string)$this->id, $padLength, '-');
107
+        $paddedID = str_pad((string)$this->id, $padLength, '-');
108 108
         
109 109
         $this->replacement = sprintf($format, $paddedID);
110 110
 
Please login to merge, or discard this patch.