summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Exception/DatabaseRequired.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/dbal/src/Exception/DatabaseRequired.php')
-rw-r--r--vendor/doctrine/dbal/src/Exception/DatabaseRequired.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/doctrine/dbal/src/Exception/DatabaseRequired.php b/vendor/doctrine/dbal/src/Exception/DatabaseRequired.php
deleted file mode 100644
index fc36a9b..0000000
--- a/vendor/doctrine/dbal/src/Exception/DatabaseRequired.php
+++ /dev/null
@@ -1,23 +0,0 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Exception;
6
7use Doctrine\DBAL\Exception;
8
9use function sprintf;
10
11/** @psalm-immutable */
12class DatabaseRequired extends \Exception implements Exception
13{
14 public static function new(string $methodName): self
15 {
16 return new self(
17 sprintf(
18 'A database is required for the method: %s.',
19 $methodName,
20 ),
21 );
22 }
23}