lib/Assertion.php
function most($value): self {
    $target = $this->hasFlag('length') ? $this->getLength($this->target) : $this->target;
    return $this->expect($target, lessThanOrEqual($value));
  }
function most($value): self {
    $target = $this->hasFlag('length') ? $this->getLength($this->target) : $this->target;
    return $this->expect($target, lessThanOrEqual($value));
  }
function most ( $ value ) : self { $ target = $ this -> hasFlag ( 'length' ) ? $ this -> getLength ( $ this -> target ) : $ this -> target ; return $ this -> expect ( $ target , lessThanOrEqual ( $ value ) ) ; }
Reports an error if the target is not less than or equal to the specified value.
@param int|float $value The value to compare.
@return self This instance.
Reports an error if the target is not less than or equal to the specified value .