InvalidQueryParameterTypeException.php 314 B

123456789101112
  1. <?php
  2. namespace Enqueue\Dsn;
  3. final class InvalidQueryParameterTypeException extends \LogicException
  4. {
  5. public static function create(string $name, string $expectedType): self
  6. {
  7. return new static(sprintf('The query parameter "%s" has invalid type. It must be "%s"', $name, $expectedType));
  8. }
  9. }