Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | final class InvalidArgumentHelper |
||
15 | { |
||
16 | /** |
||
17 | * Creates a new instance of VGirol\JsonApiAssert\Exception with customized message. |
||
18 | * |
||
19 | * @param integer $argument |
||
20 | * @param string $type |
||
21 | * @param mixed $value |
||
22 | * @return Exception |
||
23 | */ |
||
24 | public static function factory(int $argument, string $type, $value = null): Exception |
||
40 |