Code Duplication    Length = 7-7 lines in 2 locations

src/Exceptions/InvalidUserProvider.php 1 location

@@ 7-13 (lines=7) @@
4
5
use Throwable;
6
7
class InvalidUserProvider extends \Exception
8
{
9
    public function __construct(string $guard, $message = "", $code = 0, Throwable $previous = null)
10
    {
11
        parent::__construct(sprintf('Invalid user provider for guard %s', $guard), $code, $previous);
12
    }
13
}

src/Exceptions/MissingUserProvider.php 1 location

@@ 7-13 (lines=7) @@
4
5
use Throwable;
6
7
class MissingUserProvider extends \Exception
8
{
9
    public function __construct(string $guard, $message = "", $code = 0, Throwable $previous = null)
10
    {
11
        parent::__construct(sprintf('Missing user provider for guard %s', $guard), $code, $previous);
12
    }
13
}