Completed
Push — master ( 8677c5...0f9d3b )
by Orkhan
02:31
created

ZipException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Orkhanahmadov\ZipValidator\Exceptions;
4
5
class ZipException extends \RuntimeException
6
{
7
    public function __construct($zipErrorCode)
8
    {
9
        parent::__construct(
10
            'Could not open file. ZIP file error: ' . $zipErrorCode,
11
            0,
12
            null
13
        );
14
    }
15
}
16