Files
archived-dbal/src/Exception/InvalidArgumentException.php
Grégoire Paris 80e7ec0266 Drop Psalm in favor of PHPStan
As per the decision we made during the hackathon.
psalm-immutable annotations have been dropped, as they were only
introduced to sastisfy Psalm
2025-01-15 18:58:06 +01:00

18 lines
374 B
PHP

<?php
namespace Doctrine\DBAL\Exception;
use Doctrine\DBAL\Exception;
/**
* Exception to be thrown when invalid arguments are passed to any DBAL API
*/
class InvalidArgumentException extends Exception
{
/** @return self */
public static function fromEmptyCriteria()
{
return new self('Empty criteria was used, expected non-empty criteria');
}
}