Passed
Push — main ( cb4e4e...3712d5 )
by Sammy
08:12 queued 01:08
created
Text/INI.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,9 @@
 block discarded – undo
29 29
     {
30 30
         // https://secure.php.net/manual/en/function.parse-ini-file.php
31 31
         $ret = parse_ini_file($filepath, $with_sections, $mode);
32
-        if($ret === false)
33
-            return null;
32
+        if($ret === false) {
33
+                    return null;
34
+        }
34 35
 
35 36
         return $ret;
36 37
     }
Please login to merge, or discard this patch.
Text/TextFile.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,9 @@
 block discarded – undo
67 67
     public function __toString()
68 68
     {
69 69
         $ret = file_get_contents($this->path());
70
-        if($ret === false)
71
-            $ret = $this->path();
70
+        if($ret === false) {
71
+                    $ret = $this->path();
72
+        }
72 73
 
73 74
         return $ret;
74 75
     }
Please login to merge, or discard this patch.