EmptyCriteriaNotAllowed.php 276 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Exception;

final class EmptyCriteriaNotAllowed extends InvalidArgumentException
{
    public static function new() : self
    {
11
        return new self('Empty criteria was used, expected non-empty criteria.');
12 13
    }
}