Test Failed
Push — master ( 34c614...ede9b5 )
by Dawid
05:49
created

RepositoryException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace Igni\Storage\Exception;
4
5
class RepositoryException extends StorageException
6
{
7
    public static function forNotFound($id): RepositoryException
8
    {
9
        return new self("Entity with id `${id}` was not found");
10
    }
11
}
12