Passed
Push — master ( f223f6...5c92ad )
by Sebastian
02:43
created
src/StringBuilder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.