public function max($max, bool $isInclusive = true) : self
    {
        $this->createRule(MaxRule::class, [$max, $isInclusive]);

        return $this;
    }
public function max($max, bool $isInclusive = true) : self
    {
        $this->createRule(MaxRule::class, [$max, $isInclusive]);

        return $this;
    }
public function max ( $ max , bool $ isInclusive = true ) : self { $ this -> createRule ( MaxRule :: class , [ $ max , $ isInclusive ] ) ; return $ this ; }
Marks a field as having a maximum acceptable value

@param int|float $max The maximum value to compare against
@param bool $isInclusive Whether or not the maximum is inclusive
@return self For method chaining
Marks a field as having a maximum acceptable value