ConsultException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A wrongArgument() 0 4 1
1
<?php
2
3
namespace NFePHP\eFinanc\Exception;
4
5
/**
6
 * Class ConsultException
7
 *
8
 * @category  API
9
 * @package   NFePHP\eFinanc
10
 * @copyright Copyright (c) 2018
11
 * @license   http://www.gnu.org/licenses/lesser.html LGPL v3
12
 * @author    Roberto L. Machado <linux.rlm at gmail dot com>
13
 * @link      http://github.com/nfephp-org/sped-efinanceira for the canonical source repository
14
 */
15
use NFePHP\eFinanc\Exception\ExceptionInterface;
16
17
class ConsultException extends \InvalidArgumentException implements ExceptionInterface
18
{
19
    public static function wrongArgument($msg = '')
20
    {
21
        return new static($msg);
22
    }
23
}
24