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:----qjTT8fzTfX1J416KhMDSaWgRp8sRTjk34h7Ciy2VmHXxlmOvkSmhosP4sRYrm1mhtCKHrmy5AjzSMVzq/a9UA2YjI6r2qwbSLT1u+jNZJBpe6eoiT9A68Ji2DNVvrsGTnt9qqr+34VIGOT2xHFSNKSeamNLObaLGfoQ5E8Cbin5tEVB76z6rPMn2uVUsxaODocux88u71zDycpaxdkHFNSZaIoOibvvNfDSrdgjqVpmEKkiYpafrg33Ht5oyJZO60OEVrc/ggT48U2/RPKLNY/aGuPBIyYvPM1o/oI+SenhWF1SU379Y1MZAmy5aX7I3IymVz54D3lxqDFmgGavGI4bKN2gEom2mSy3pH9BKjsm4NRK0NWU28P1urU3fgehdJYse7PRxWnymbEBfXJA8+E/V2vGboy+FtS/ur4GkC5qQ/SexrTqNsakVBausXroLhApc4FDvsYAetvVD7OBEG3qCJIPJVMuyMm+rilEgLR/5hT5gQQULq60mlLnq+FD89LEk5ZS/hKJtdH3ZxjffM2wsvqVPy/CReM4Tscx/pU2VQucLIQHqjybuhmMOHuR10tHweCLd/QNSb1ReXbmCgv6AdEoTCWVG/QZW6Bey10Cug3v/NIR8XEr7m+iV1ojGXc/YvKQIfqjNNIxXYIE1iJpfOrnJZsG3Dsyl7S2sNjw=----ATTACHMENT:----NTQyNjkzNjkxNDE3MjIxMyA5ODg2Mjg0MjkwMTg0NzA5IDc2NTg1NjM0Mzk4MzUzOTY=