Completed
Push — master ( 06b292...adafac )
by Nicolai
02:22
created

AbstractConfiguration::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
4
namespace SmartWeb\ModuleTesting\Codeception;
5
6
use SmartWeb\ModuleTesting\Support\ArrayAccessible;
7
8
9
class AbstractConfiguration implements ConfigurationInterface
10
{
11
    
12
    use ArrayAccessible;
13
    
14
    /**
15
     * Create a new configuration instance.
16
     *
17
     * @param array $attributes
18
     *
19
     * @return void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
20
     */
21
    public function __construct($attributes = [])
22
    {
23
        $this->setAttributes($attributes);
24
    }
25
    
26
}