Passed
Branch master (2c84bf)
by Viktor
02:58
created
Category
src/Event.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         }
101 101
 
102 102
         @flock($fp, LOCK_EX);
103
-        $state = (int)@stream_get_contents($fp) ?: 0;
103
+        $state = (int) @stream_get_contents($fp) ?: 0;
104 104
         if ($state === PHP_INT_MAX) {
105 105
             $state = 0;
106 106
         }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
         @ftruncate($fp, 0);
110 110
         @rewind($fp);
111
-        @fwrite($fp, (string)$state);
111
+        @fwrite($fp, (string) $state);
112 112
         @flock($fp, LOCK_UN);
113 113
         @fclose($fp);
114 114
 
Please login to merge, or discard this patch.