Completed
Push — master ( 03118f...776076 )
by Phil
05:02
created

AbstractStore::invokeDecorators()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 12
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 12
ccs 0
cts 10
cp 0
rs 9.4286
cc 2
eloc 6
nc 2
nop 3
crap 6
1
<?php
2
3
namespace Percy\Store;
4
5
use InvalidArgumentException;
6
use Percy\Decorator\DecoratorTrait;
7
use Percy\Entity\Collection;
8
9
abstract class AbstractStore implements StoreInterface
10
{
11
    use DecoratorTrait;
12
13
    /**
14
     * Iterate collection and validate data.
15
     *
16
     * @param \Percy\EntityCollection $collection
17
     *
18
     * @return boolean
19
     */
20
    public function validate(Collection $collection)
0 ignored issues
show
Unused Code introduced by
The parameter $collection is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
21
    {
22
23
    }
24
}
25