Completed
Push — feature/php7 ( 8fbcf1...323b55 )
by Victor
09:06 queued 02:27
created
Memory/Memory.php 1 patch
Spacing   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@  discard block
 block discarded – undo
98 98
         }
99 99
 
100 100
         self::$collection[$address] = &$pointer;
101
-        self::$lastAddress = $address;
102
-        ++self::$entriesCount;
101
+        self::$lastAddress = $address;++self::$entriesCount;
103 102
     }
104 103
 
105 104
     /**
@@ -119,8 +118,7 @@  discard block
 block discarded – undo
119 118
         }
120 119
 
121 120
         $address = self::createAddress();
122
-        self::$collection[$address] = &$pointer;
123
-        ++self::$entriesCount;
121
+        self::$collection[$address] = &$pointer;++self::$entriesCount;
124 122
 
125 123
         return $address;
126 124
     }
@@ -154,8 +152,7 @@  discard block
 block discarded – undo
154 152
             return false;
155 153
         }
156 154
 
157
-        unset(self::$collection[$address]);
158
-        --self::$entriesCount;
155
+        unset(self::$collection[$address]);--self::$entriesCount;
159 156
 
160 157
         return true;
161 158
     }
Please login to merge, or discard this patch.