InvalidArgumentException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 11
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 3 1
1
<?php
2
3
namespace MidasSoft\DominicanBankParser\Exceptions;
4
5
use Exception;
6
7
class InvalidArgumentException extends Exception
8
{
9
    /**
10
     * Returns the string representation
11
     * of the Exception.
12
     *
13
     * @return string
14
     */
15
    public function __toString()
16
    {
17
        return sprintf('%s: [%d]: %s', __CLASS__, $this->code, $this->message);
18
    }
19
}
20