Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
621 lars 1
<?php
2
 
3
namespace Doctrine\DBAL\Driver\PgSQL\Exception;
4
 
5
use Doctrine\DBAL\Driver\AbstractException;
6
 
7
use function sprintf;
8
 
9
/** @psalm-immutable */
10
final class UnknownParameter extends AbstractException
11
{
12
    public static function new(string $param): self
13
    {
14
        return new self(
15
            sprintf('Could not find parameter %s in the SQL statement', $param),
16
        );
17
    }
18
}