@@ -1048,7 +1048,7 @@ protected function getFields($asNames = false)
10481048 *
10491049 * @return bool|int
10501050 */
1051- private function getMemoryLimit ()
1051+ private static function getMemoryLimit ()
10521052 {
10531053 // Get values if no cache
10541054 if ($ this ->memoryLimit === null ) {
@@ -1089,7 +1089,7 @@ private function getMemoryLimit()
10891089 *
10901090 * @return string
10911091 */
1092- private function findFile ($ file = null )
1092+ private static function findFile ($ file = null )
10931093 {
10941094 if ($ file !== null ) {
10951095 // Get actual file path
@@ -1126,7 +1126,7 @@ private function findFile($file = null)
11261126 *
11271127 * @return int
11281128 */
1129- private function wrap8 ($ x )
1129+ private static function wrap8 ($ x )
11301130 {
11311131 return $ x + ($ x < 0 ? 256 : 0 );
11321132 }
@@ -1138,7 +1138,7 @@ private function wrap8($x)
11381138 *
11391139 * @return int
11401140 */
1141- private function wrap32 ($ x )
1141+ private static function wrap32 ($ x )
11421142 {
11431143 return $ x + ($ x < 0 ? 4294967296 : 0 );
11441144 }
@@ -1150,7 +1150,7 @@ private function wrap32($x)
11501150 *
11511151 * @return int
11521152 */
1153- private function getShmKey ($ filename )
1153+ private static function getShmKey ($ filename )
11541154 {
11551155 // This will create a shared memory key that deterministically depends only on
11561156 // the current file's path and the BIN file's path
@@ -1170,7 +1170,7 @@ private function getShmKey($filename)
11701170 *
11711171 * @return int
11721172 */
1173- private function ipBetween ($ version , $ ip , $ low , $ high )
1173+ private static function ipBetween ($ version , $ ip , $ low , $ high )
11741174 {
11751175 if ($ version === 4 ) {
11761176 // Use normal PHP compares
@@ -1257,7 +1257,7 @@ private static function ipVersionAndNumber($ip)
12571257 *
12581258 * @return string
12591259 */
1260- private function bcBin2Dec ($ data )
1260+ private static function bcBin2Dec ($ data )
12611261 {
12621262 if (!$ data ) {
12631263 return ;
0 commit comments