InvalidKeyException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * This file is part of the badams\GoogleUrl library
4
 *
5
 * @license http://opensource.org/licenses/MIT
6
 * @link https://github.com/badams/google-url
7
 * @package badams/google-url
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace badams\GoogleUrl\Exceptions;
14
15
class InvalidKeyException extends GoogleUrlException
16
{
17
    /**
18
     * InvalidKeyException constructor.
19
     * @param string $message
20
     * @param int $code
21
     * @param \Exception $previous
22
     */
23 3
    public function __construct($message = 'Invalid API key', $code = 0, \Exception $previous = null)
24
    {
25 3
        parent::__construct($message, $code, $previous);
26 3
    }
27
}
28