@@ -46,7 +46,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |