Passed
Push — laravel-9-support ( 40abed...9d59e4 )
by Harings
18:14 queued 10:22
created

MediaCropNotFoundException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace A17\Twill\Exceptions;
4
5
class MediaCropNotFoundException extends \Exception
6
{
7
    public function __construct(string $crop)
8
    {
9
        $message = "Found media but could not find the crop '$crop'";
10
        parent::__construct($message);
11
    }
12
}
13