Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | class FileUnacceptableForCollection extends FileCannotBeAdded |
||
14 | { |
||
15 | public $violations; |
||
16 | |||
17 | /** |
||
18 | * @param mixed $media |
||
19 | * @param Collection $collection |
||
20 | * @param ViolationsBag $bag |
||
21 | * |
||
22 | * @return FileUnacceptableForCollection |
||
23 | */ |
||
24 | public static function createFromViolationsBag($file, Collection $collection, ViolationsBag $bag) |
||
34 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.