Passed
Push — main ( ecdc1f...dbd268 )
by Thierry
01:34
created
src/UtilTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,10 +49,10 @@
 block discarded – undo
49 49
      */
50 50
     public function html($string): string
51 51
     {
52
-        if(!$string) {
52
+        if (!$string) {
53 53
             return '';
54 54
         }
55
-        $string =  str_replace("\n", '<br>', $string);
55
+        $string = str_replace("\n", '<br>', $string);
56 56
         return str_replace("\0", '&#0;', htmlspecialchars($string, ENT_QUOTES, 'utf-8'));
57 57
     }
58 58
 
Please login to merge, or discard this patch.