From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- .../reader/src/MaxMind/Db/Reader/Metadata.php | 156 +++++++++++++-------- 1 file changed, 94 insertions(+), 62 deletions(-) (limited to 'vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Metadata.php') diff --git a/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Metadata.php b/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Metadata.php index 94a5592..3c9be87 100644 --- a/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Metadata.php +++ b/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Metadata.php @@ -1,71 +1,108 @@ binaryFormatMajorVersion = $metadata['binary_format_major_version']; $this->binaryFormatMinorVersion = @@ -80,9 +117,4 @@ class Metadata $this->nodeByteSize = $this->recordSize / 4; $this->searchTreeSize = $this->nodeCount * $this->nodeByteSize; } - - public function __get($var) - { - return $this->$var; - } } -- cgit v1.2.3