@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | { |
| 69 | 69 | $string = strval($string); |
| 70 | 70 | |
| 71 | - if(!empty($string)) |
|
| 71 | + if (!empty($string)) |
|
| 72 | 72 | { |
| 73 | 73 | $this->strings[] = $string; |
| 74 | 74 | } |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | { |
| 148 | 148 | array_unshift($arguments, $format); |
| 149 | 149 | |
| 150 | - if(!class_exists('\AppLocalize\Localization')) |
|
| 150 | + if (!class_exists('\AppLocalize\Localization')) |
|
| 151 | 151 | { |
| 152 | 152 | return $this->sf(...$arguments); |
| 153 | 153 | } |
@@ -288,10 +288,10 @@ discard block |
||
| 288 | 288 | * @param bool $newTab |
| 289 | 289 | * @return $this |
| 290 | 290 | */ |
| 291 | - public function link(string $label, string $url, bool $newTab=false) : StringBuilder |
|
| 291 | + public function link(string $label, string $url, bool $newTab = false) : StringBuilder |
|
| 292 | 292 | { |
| 293 | 293 | $target = ''; |
| 294 | - if($newTab) { |
|
| 294 | + if ($newTab) { |
|
| 295 | 295 | $target = ' target="_blank"'; |
| 296 | 296 | } |
| 297 | 297 | |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | */ |
| 338 | 338 | protected function spanned($string, $classes) : StringBuilder |
| 339 | 339 | { |
| 340 | - if(!is_array($classes)) |
|
| 340 | + if (!is_array($classes)) |
|
| 341 | 341 | { |
| 342 | 342 | $classes = array(strval($classes)); |
| 343 | 343 | } |