Completed
Push — master ( 0d7c83...11b403 )
by Vitaly
02:57
created

Instance   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 2
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A resolve() 0 4 1
1
<?php declare(strict_types = 1);
2
/**
3
 * Created by PhpStorm.
4
 * User: root
5
 * Date: 27.07.2016
6
 * Time: 1:55.
7
 */
8
namespace samsonframework\container\collection\configurator;
9
10
use samsonframework\container\collection\CollectionKeyConfiguratorInterface;
11
use samsonframework\container\metadata\ClassMetadata;
12
13
/**
14
 * Instance key collection configurator class.
15
 *
16
 * @author Vitaly Egorov <[email protected]>
17
 */
18
class Instance implements CollectionKeyConfiguratorInterface
19
{
20
    use CollectionConfiguratorTrait;
21
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function resolve(array $data)
0 ignored issues
show
Unused Code introduced by
The parameter $data 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...
26
    {
27
        return new ClassMetadata();
28
    }
29
}
30