diff options
Diffstat (limited to 'vendor/doctrine/dbal/src/Driver/AbstractSQLServerDriver/Exception')
| -rw-r--r-- | vendor/doctrine/dbal/src/Driver/AbstractSQLServerDriver/Exception/PortWithoutHost.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/doctrine/dbal/src/Driver/AbstractSQLServerDriver/Exception/PortWithoutHost.php b/vendor/doctrine/dbal/src/Driver/AbstractSQLServerDriver/Exception/PortWithoutHost.php new file mode 100644 index 0000000..ea8dcc4 --- /dev/null +++ b/vendor/doctrine/dbal/src/Driver/AbstractSQLServerDriver/Exception/PortWithoutHost.php | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver\AbstractSQLServerDriver\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\AbstractException; | ||
| 8 | |||
| 9 | /** | ||
| 10 | * @internal | ||
| 11 | * | ||
| 12 | * @psalm-immutable | ||
| 13 | */ | ||
| 14 | final class PortWithoutHost extends AbstractException | ||
| 15 | { | ||
| 16 | public static function new(): self | ||
| 17 | { | ||
| 18 | return new self('Connection port specified without the host'); | ||
| 19 | } | ||
| 20 | } | ||
