Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Doctrine\DBAL\ArrayParameters\Exception;
4
 
5
use Doctrine\DBAL\ArrayParameters\Exception;
6
use LogicException;
7
 
8
use function sprintf;
9
 
10
/**
11
 * @internal
12
 *
13
 * @psalm-immutable
14
 */
15
class MissingPositionalParameter extends LogicException implements Exception
16
{
17
    public static function new(int $index): self
18
    {
19
        return new self(
20
            sprintf('Positional parameter at index %d does not have a bound value.', $index),
21
        );
22
    }
23
}