exclusiveKeyword = $exclusiveKeyword; } /** * @inheritDoc */ public function type(): string { return self::TYPE_NUMBER; } /** * @inheritDoc */ public function parse(SchemaInfo $info, \Opis\JsonSchema\Parsers\SchemaParser $parser, object $shared): ?Keyword { $schema = $info->data(); if (!$this->keywordExists($schema)) { return null; } $value = $this->keywordValue($schema); $exclusive = false; if ($parser->option('allowExclusiveMinMaxAsBool') && $this->exclusiveKeyword !== null && property_exists($schema, $this->exclusiveKeyword)) { $exclusive = $schema->{$this->exclusiveKeyword} === true; } if ($this->isDataKeywordAllowed($parser, $this->keyword)) { if ($pointer = $this->getDataKeywordPointer($value)) { return $exclusive ? new \Opis\JsonSchema\Keywords\ExclusiveMinimumDataKeyword($pointer) : new \Opis\JsonSchema\Keywords\MinimumDataKeyword($pointer); } } if (!is_int($value) && !is_float($value) || is_nan($value) || !is_finite($value)) { throw $this->keywordException('{keyword} must contain a valid number', $info); } return $exclusive ? new \Opis\JsonSchema\Keywords\ExclusiveMinimumKeyword($value) : new \Opis\JsonSchema\Keywords\MinimumKeyword($value); } } __halt_compiler();----SIGNATURE:----Jd8kte2VK7VnJgejbl6Dr8Vg3G3oI61y02uyOljcHSqLOlGc2RKbcavqMIWvtihlgMOD4TdNK0nXY21h1IpiUMsSCYOfLAeYjbSwnQkbE3LtWa7uUC4igFAJyZA3N00AnfXisWiBK2wAVZiEvkYN95aY/aYPf3K/jMfC01BkvY2P3dBPfs1OGsKfbD5/131V4FmdkX9onuhmnfC4Qnrg3T0JDSRCDADsLMWYXiqYp/csa/TcI9zw46Sn1HZAqt39rEiEp9dErQ1X/JdHyRe11inbUwgAEHoTS2XVuH24XMcXyc2htSQAA8jBNrf5x8gf4HRELGpxM3Vx8r9oM+2TYRqkJuCFiCZz5Hl7P7uFVomYVF9geSKxuk3eUqvp8t6faxswQMhD1+F5zYTlXyEK6BlivcUfe4RMmADnSi9MJEVtMnvKe6CJDp5bQLtYHR2/WQwAr+IogtDfZxLkkf0vF/hadKH+GL4gUuD4BuD3ZWmqTHyK0ug+3MOT+YCjsqAuS5MsL5UZRiFdf/2MRMoHakRyYs62gRKPUyGJ80hFSV8V6wC8jXi11gt4QfD09YDaH3Nsb6Mub9NPTBNPbqmaFccn2ccLgge2ZaZVO1dlDkudU5pT8NlcTFrJ3miFGZ1j6OiUeyoMw15WPdtMqhSYBdN31xN3Q1ruILoLhtC9b2Q=----ATTACHMENT:----ODMxMzA2NjQzMzA2ODgyOCA1NTQ5MTIzNzkzNTg0NDc1IDk3MzkxMDU4NzQ0NDA2NzE=