Passed
Push — master ( e129d0...0eb352 )
by Ivan
03:19
created

BlockDoesNotExist::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 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