Completed
Pull Request — master (#4)
by Jakub
03:36
created

Tools::defaultTools()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 23
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 20
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 19
nc 1
nop 0
dl 0
loc 23
ccs 20
cts 20
cp 1
crap 1
rs 9.6333
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