@@ -22,7 +22,7 @@  | 
                                                    ||
| 22 | 22 | $contents .= fread($value, 1024);  | 
                                                        
| 23 | 23 | }  | 
                                                        
| 24 | 24 | |
| 25 | - $encodedType = Packer::packUint8(self::TYPE);  | 
                                                        |
| 25 | + $encodedType = Packer::packUint8(self::TYPE);  | 
                                                        |
| 26 | 26 | $encodedSize = Packer::packSize(strlen($encodedType) + strlen($contents), true);  | 
                                                        
| 27 | 27 | |
| 28 | 28 | return $encodedType . $encodedSize . $contents;  | 
                                                        
@@ -59,7 +59,7 @@  | 
                                                    ||
| 59 | 59 | |
| 60 | 60 | private function isArrayKeyNumbers($arr): bool  | 
                                                        
| 61 | 61 |      { | 
                                                        
| 62 | - $arr = (array)$arr;  | 
                                                        |
| 62 | + $arr = (array) $arr;  | 
                                                        |
| 63 | 63 | |
| 64 | 64 |          if ([] === $arr) { | 
                                                        
| 65 | 65 | return false;  | 
                                                        
@@ -58,7 +58,7 @@  | 
                                                    ||
| 58 | 58 | |
| 59 | 59 | private function isArrayAssoc($arr)  | 
                                                        
| 60 | 60 |      { | 
                                                        
| 61 | - $arr = (array)$arr;  | 
                                                        |
| 61 | + $arr = (array) $arr;  | 
                                                        |
| 62 | 62 | |
| 63 | 63 |          if ([] === $arr) { | 
                                                        
| 64 | 64 | return false;  | 
                                                        
@@ -24,18 +24,18 @@  | 
                                                    ||
| 24 | 24 | const BINN_INT64 = 0x81;  | 
                                                        
| 25 | 25 | const BINN_STRING = 0xA0;  | 
                                                        
| 26 | 26 | |
| 27 | - const BINN_FLOAT32 = 0x62; // (DWORD)  | 
                                                        |
| 28 | - const BINN_FLOAT64 = 0x82; // (QWORD)  | 
                                                        |
| 27 | + const BINN_FLOAT32 = 0x62; // (DWORD)  | 
                                                        |
| 28 | + const BINN_FLOAT64 = 0x82; // (QWORD)  | 
                                                        |
| 29 | 29 | const BINN_FLOAT = self::BINN_FLOAT32;  | 
                                                        
| 30 | 30 | |
| 31 | 31 | const BINN_BOOL = 0x80061;  | 
                                                        
| 32 | 32 | |
| 33 | 33 | const BINN_STORAGE_NOBYTES = 0x00;  | 
                                                        
| 34 | - const BINN_STORAGE_BYTE = 0x20; // 8 bits  | 
                                                        |
| 35 | - const BINN_STORAGE_WORD = 0x40; // 16 bits -- the endianess (byte order) is automatically corrected  | 
                                                        |
| 36 | - const BINN_STORAGE_DWORD = 0x60; // 32 bits -- the endianess (byte order) is automatically corrected  | 
                                                        |
| 37 | - const BINN_STORAGE_QWORD = 0x80; // 64 bits -- the endianess (byte order) is automatically corrected  | 
                                                        |
| 38 | - const BINN_STORAGE_STRING = 0xA0; // Are stored with null termination  | 
                                                        |
| 34 | + const BINN_STORAGE_BYTE = 0x20; // 8 bits  | 
                                                        |
| 35 | + const BINN_STORAGE_WORD = 0x40; // 16 bits -- the endianess (byte order) is automatically corrected  | 
                                                        |
| 36 | + const BINN_STORAGE_DWORD = 0x60; // 32 bits -- the endianess (byte order) is automatically corrected  | 
                                                        |
| 37 | + const BINN_STORAGE_QWORD = 0x80; // 64 bits -- the endianess (byte order) is automatically corrected  | 
                                                        |
| 38 | + const BINN_STORAGE_STRING = 0xA0; // Are stored with null termination  | 
                                                        |
| 39 | 39 | const BINN_STORAGE_BLOB = 0xC0;  | 
                                                        
| 40 | 40 | const BINN_STORAGE_CONTAINER = 0xE0;  | 
                                                        
| 41 | 41 | |