Skip to content

Commit 2350679

Browse files
authored
Merge pull request #12 from NotionCommotion/master
Changed private function bigint_unpack($big_int) to static private fu…
2 parents bfb28ca + 6ad441a commit 2350679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CBOR/CBOREncoder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ private static function is_assoc(&$arr)
422422
* @param $big_int
423423
* @return string
424424
*/
425-
private function bigint_unpack($big_int)
425+
private static function bigint_unpack($big_int)
426426
{
427427
list($higher, $lower) = array_values(unpack("N2", $big_int));
428428
return $higher << 32 | $lower;

0 commit comments

Comments
 (0)