File "ValidatesArguments.php"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/spatie/image/ValidatesArguments.php
File size: 394 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Spatie\Image\Drivers\Concerns;
use Spatie\Image\Exceptions\InvalidManipulation;
trait ValidatesArguments
{
protected function ensureNumberBetween(int|float $value, int|float $min, int|float $max, string $label): void
{
if ($value < $min || $value > $max) {
throw InvalidManipulation::valueNotInRange($label, $value, $min, $max);
}
}
}