ICWNAFWDACGSAS::setProva()   A
last analyzed

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 1
1
<?php
2
3
namespace TestNamespace;
4
5
use ExtendClass;
6
use NamespaceDep\ClassDep;
7
use NS\IClass;
8
9
/**
10
 * Generated Class
11
 */
12
class ICWNAFWDACGSAS extends ExtendClass implements IClass
13
{
14
    /**
15
     * session unique identifier
16
     *
17
     * @var int
18
     */
19
    private static $prova;
20
21
    /**
22
     * comment ClassDep
23
     *
24
     * @var NamespaceDep\ClassDep
25
     */
26
    private static $dependency;
27
28
    /**
29
     * costruttore
30
     */
31
    final public function __construct()
32
    {
33
    }
34
35
    /**
36
     * @return int
37
     */
38
    final public static function getProva()
39
    {
40
        return self::$prova;
41
    }
42
43
    /**
44
     * @var prova int
45
     */
46
    final public static function setProva(int $prova)
47
    {
48
        self::$prova = $prova;
49
    }
50
51
    /**
52
     * @return NamespaceDep\ClassDep
53
     */
54
    final public static function getDependency()
55
    {
56
        return self::$dependency;
57
    }
58
59
    /**
60
     * @var dependency NamespaceDep\ClassDep
61
     */
62
    final public static function setDependency(ClassDep $dependency)
63
    {
64
        self::$dependency = $dependency;
0 ignored issues
show
Documentation Bug introduced by
It seems like $dependency of type object<NamespaceDep\ClassDep> is incompatible with the declared type object<TestNamespace\NamespaceDep\ClassDep> of property $dependency.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
65
    }
66
}
67