Passed
Push — master ( 3a2ed0...151619 )
by PHPinnacle
06:13
created

Arguments::inject()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 5
cts 5
cp 1
rs 9.6666
c 0
b 0
f 0
cc 2
eloc 4
nc 2
nop 1
crap 2
1
<?php
2
/** * This file is part of PHPinnacle/Ensign.
3
 *
4
 * (c) PHPinnacle Team <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
declare(strict_types = 1);
11
12
namespace PHPinnacle\Ensign;
13
14
interface Arguments
15
{
16
    /**
17
     * @param callable $callable
18
     *
19
     * @return array
20
     */
21
    public function resolve(callable $callable): array;
22
}
23