We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db49000 commit 13cb51bCopy full SHA for 13cb51b
src/Binary.php
@@ -39,13 +39,13 @@
39
use const PHP_INT_MAX;
40
41
class Binary{
42
- public const SIZEOF_BYTE = 1;
43
- public const SIZEOF_SHORT = 2;
44
- public const SIZEOF_INT = 4;
45
- public const SIZEOF_LONG = 8;
+ private const SIZEOF_BYTE = 1;
+ private const SIZEOF_SHORT = 2;
+ private const SIZEOF_INT = 4;
+ private const SIZEOF_LONG = 8;
46
47
- public const SIZEOF_FLOAT = 4;
48
- public const SIZEOF_DOUBLE = 8;
+ private const SIZEOF_FLOAT = 4;
+ private const SIZEOF_DOUBLE = 8;
49
50
public static function signByte(int $value) : int{
51
return $value << 56 >> 56;
0 commit comments