Completed
Push — master ( 617948...a6807a )
by Korotkov
08:37 queued 20s
created

ClassWithContainerTrait::container()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
/**
6
 * Created by PhpStorm.
7
 * User: d
8
 * Date: 21.03.17
9
 * Time: 16:22
10
 */
11
12
13
use Rudra\ContainerTrait;
14
use Rudra\SetContainerTrait;
15
16
17
/**
18
 * Class ClassWithContainerTrait
19
 */
20
class ClassWithContainerTrait
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
21
{
22
23
    use SetContainerTrait;
24
    use ContainerTrait;
25
}