File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public static function php_os_family()
83
83
'SunOS ' => 'Solaris ' ,
84
84
];
85
85
86
- return isset ( $ map [\PHP_OS ]) ? $ map [\ PHP_OS ] : 'Unknown ' ;
86
+ return $ map [\PHP_OS ] ?? 'Unknown ' ;
87
87
}
88
88
89
89
public static function spl_object_id ($ object )
@@ -96,7 +96,7 @@ public static function spl_object_id($object)
96
96
}
97
97
98
98
// On 32-bit systems, PHP_INT_SIZE is 4,
99
- return self ::$ hashMask ^ hexdec (substr ($ hash , 16 - (\PHP_INT_SIZE * 2 - 1 ), ( \PHP_INT_SIZE * 2 - 1 ) ));
99
+ return self ::$ hashMask ^ hexdec (substr ($ hash , 16 - (\PHP_INT_SIZE * 2 - 1 ), \PHP_INT_SIZE * 2 - 1 ));
100
100
}
101
101
102
102
public static function sapi_windows_vt100_support ($ stream , $ enable = null )
@@ -167,7 +167,7 @@ private static function initHashMask()
167
167
self ::$ hashMask = (int ) substr (ob_get_clean (), 17 );
168
168
}
169
169
170
- self ::$ hashMask ^= hexdec (substr (spl_object_hash ($ obj ), 16 - (\PHP_INT_SIZE * 2 - 1 ), ( \PHP_INT_SIZE * 2 - 1 ) ));
170
+ self ::$ hashMask ^= hexdec (substr (spl_object_hash ($ obj ), 16 - (\PHP_INT_SIZE * 2 - 1 ), \PHP_INT_SIZE * 2 - 1 ));
171
171
}
172
172
173
173
public static function mb_chr ($ code , $ encoding = null )
You can’t perform that action at this time.
0 commit comments