Test Failed
Push — master ( 728572...c0d895 )
by Anatoly
05:42 queued 03:03
created

ResourceNotFoundException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace App\Exception;
4
5
/**
6
 * ResourceNotFoundException
7
 */
8
final class ResourceNotFoundException extends AbstractException
9
{
10
11
    /**
12
     * Constructor of the class
13
     *
14
     * @param null|string $message
15
     */
16
    public function __construct(string $message = null)
17
    {
18
        parent::__construct($message ?? 'The requested resource was not found');
19
    }
20
}
21