Passed
Push — master ( df446a...4986ba )
by Jakub
02:29 queued 10s
created

Tools::__construct()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2

Importance

Changes 0
Metric Value
cc 2
eloc 3
nc 2
nop 1
dl 0
loc 7
ccs 4
cts 4
cp 1
crap 2
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace Zalas\Toolbox\Tool;
4
5
use RuntimeException;
6
7
interface Tools
8
{
9
    /**
10
     * @return Collection|Tool[]
11
     * @throws RuntimeException in case tools cannot be loaded
12
     */
13
    public function all(): Collection;
14
}
15