<?php
declare(strict_types=1);
namespace DoctrineDBALDriverMysqliException;
use DoctrineDBALDriverMysqliMysqliException;
use function sprintf;
/**
* @internal
*
* @psalm-immutable
*/
final class UnknownType extends MysqliException
{
/**
* @param mixed $type
*/
public static function new($type): self
{
return new self(sprintf('Unknown type, %d given.', $type));
}
}