From 4cf6bc3e5c746f58805e71f341cf117d41f77094 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 14 Feb 2024 19:28:56 +0200 Subject: [PATCH] change type codes access level --- src/Manticore.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Manticore.php b/src/Manticore.php index 883eb77..b2b2ee1 100644 --- a/src/Manticore.php +++ b/src/Manticore.php @@ -21,17 +21,17 @@ class Manticore private const OP_DUP = 400; private const OP_NOP = 500; - private const TYPE_NULL = 0; - private const TYPE_BOOL = 1; - private const TYPE_INT = 100; - private const TYPE_FLOAT = 110; - private const TYPE_STRING = 200; - private const TYPE_BIN = 210; - private const TYPE_JSON = 220; - private const TYPE_XML = 230; - private const TYPE_BASE_64 = 240; - private const TYPE_ARRAY = 300; - private const TYPE_OBJECT = 400; + public const TYPE_NULL = 0; + public const TYPE_BOOL = 1; + public const TYPE_INT = 100; + public const TYPE_FLOAT = 110; + public const TYPE_STRING = 200; + public const TYPE_BIN = 210; + public const TYPE_JSON = 220; + public const TYPE_XML = 230; + public const TYPE_BASE_64 = 240; + public const TYPE_ARRAY = 300; + public const TYPE_OBJECT = 400; public function __construct( ?string $name = 'kvazar',