15 lines
276 B
PHP
15 lines
276 B
PHP
<?php
|
|
|
|
namespace Doctrine\DBAL\Exception;
|
|
|
|
use InvalidArgumentException;
|
|
|
|
/** @psalm-immutable */
|
|
class MalformedDsnException extends InvalidArgumentException
|
|
{
|
|
public static function new(): self
|
|
{
|
|
return new self('Malformed database connection URL');
|
|
}
|
|
}
|