<?php
namespace Opis\JsonSchema\Parsers\Keywords;
use Opis\JsonSchema\Keyword;
use Opis\JsonSchema\Info\SchemaInfo;
use Opis\JsonSchema\Parsers\{KeywordParser, DataKeywordTrait,
SchemaParser};
use Opis\JsonSchema\Keywords\{
ExclusiveMaximumDataKeyword,
ExclusiveMaximumKeyword
};
class ExclusiveMaximumKeywordParser extends KeywordParser
{
use DataKeywordTrait;
public function type(): string
{
return self::TYPE_NUMBER;
}
public function parse(SchemaInfo $info, SchemaParser $parser, object $shared): ?Keyword
{