InvalidMiddlewareException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 2
c 2
b 1
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/*
3
 * This file is part of the Scrawler package.
4
 *
5
 * (c) Pranjal Pandey <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Scrawler\Exception;
12
13
class InvalidMiddlewareException extends \Exception
14
{
15
    public function __construct(string $message = 'Invalid Middleware', int $code = 500, ?\Throwable $previous = null)
16
    {
17
        parent::__construct($message, $code, $previous);
18
    }
19
}
20