Completed
Push — master ( d893b1...ec35b3 )
by Tristan
03:23
created
src/Formatter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         foreach ($fmt_parts as $part) {
47 47
             $formatted_string = $this->format($part);
48 48
 
49
-            if($formatted_string !== null) {
49
+            if ($formatted_string !== null) {
50 50
                 $final_fmt[] = $formatted_string;
51 51
             }
52 52
         }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected function format($string)
66 66
     {
67
-        if(strlen(trim($string)) < 1) {
67
+        if (strlen(trim($string)) < 1) {
68 68
             return null;
69 69
         }
70 70
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     protected function processString($needle, $name, $string)
107 107
     {
108
-        if($name === null || strlen($name) < 1) {
108
+        if ($name === null || strlen($name) < 1) {
109 109
             return null;
110 110
         }
111 111
 
Please login to merge, or discard this patch.