Completed
Pull Request — master (#10)
by ARCANEDEV
08:32
created

InvalidImageUrlException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
ccs 3
cts 3
cp 1
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A make() 0 6 1
1
<?php namespace Arcanedev\Gravatar\Exceptions;
2
3
use InvalidArgumentException;
4
5
/**
6
 * Class     InvalidImageUrlException
7
 *
8
 * @package  Arcanedev\Gravatar\Exceptions
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class InvalidImageUrlException extends InvalidArgumentException
12
{
13 4
    public static function make()
14
    {
15 4
        return new static(
16 4
            'The default image specified is not a recognized gravatar "default" and is not a valid URL'
17
        );
18
    }
19
}
20