Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 061b8e5

Browse files
CS fix
1 parent bf44a9f commit 061b8e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎Php72.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static function php_os_family()
8383
'SunOS' => 'Solaris',
8484
];
8585

86-
return isset($map[\PHP_OS]) ? $map[\PHP_OS] : 'Unknown';
86+
return $map[\PHP_OS] ?? 'Unknown';
8787
}
8888

8989
public static function spl_object_id($object)
@@ -96,7 +96,7 @@ public static function spl_object_id($object)
9696
}
9797

9898
// 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));
100100
}
101101

102102
public static function sapi_windows_vt100_support($stream, $enable = null)
@@ -167,7 +167,7 @@ private static function initHashMask()
167167
self::$hashMask = (int) substr(ob_get_clean(), 17);
168168
}
169169

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));
171171
}
172172

173173
public static function mb_chr($code, $encoding = null)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /