Completed
Push — master ( 6fbb52...2e9214 )
by Carlos C
06:52
created

NullDownloader::download()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
namespace XmlSchemaValidator\Downloader;
3
4
class NullDownloader implements DownloaderInterface
5
{
6
    public function download($url, $timeout)
7
    {
8
        throw new \RuntimeException("Download fail for url $url due Null downloader");
9
    }
10
}
11