BlockDoesNotExist   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Everlution\AjaxcomBundle\Mutation;
6
7
use Everlution\AjaxcomBundle\AjaxcomException;
8
9
/**
10
 * Class BlockDoesNotExist.
11
 *
12
 * @author Ivan Barlog <[email protected]>
13
 */
14
class BlockDoesNotExist extends AjaxcomException
15
{
16
    public function __construct(string $id)
17
    {
18
        parent::__construct("Block '$id' does not exist");
19
    }
20
}
21