File manager - Edit - /var/www/payraty/helpdesk/vendor/meilisearch/meilisearch-php/src/Exceptions/InvalidArgumentException.php
Back
<?php declare(strict_types=1); namespace Meilisearch\Exceptions; final class InvalidArgumentException extends \Exception implements ExceptionInterface { public static function invalidType(string $argumentName, array $validTypes): self { return new self( \sprintf('Argument "%s" is not a valid type! Please provide an argument that is of type: "%s"', $argumentName, implode('","', $validTypes)), 400, null ); } public static function emptyArgument(string $argumentName): self { return new self( \sprintf('Argument "%s" is empty.', $argumentName), 400, null ); } public static function dateIsExpired(\DateTimeInterface $date): self { return new self( \sprintf('DateTime "%s" is expired. The date expiresAt should be in the future.', $date->format('Y-m-d H:i:s')), 400, null ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings