Completed
Push — master ( 2bbfc9...9b6b62 )
by Marco
12s
created

ClassWithPrivatePropertiesAndParents.php (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
declare(strict_types=1);
4
5
namespace GeneratedHydratorTestAsset;
6
7
/**
8
 * Base test class to play around with parent class private properties
9
 *
10
 * @author Marco Pivetta <[email protected]>
11
 * @author Pierre Rineau <[email protected]>
12
 * @license MIT
13
 */
14
class ClassWithPrivatePropertiesAndParents extends ClassWithPrivatePropertiesAndParent
15
{
16
    private $property0 = 'property0_fromChild';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
17
18
    private $property20 = 'property20_fromChild';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
19
20
    private $property30 = 'property30';
21
22
    protected $property31 = 'property31';
23
24
    public $property32 = 'property32';
25
26
    /**
27
     * @param string $property0
28
     */
29
    public function setProperty0($property0)
30
    {
31
        $this->property0 = $property0;
32
    }
33
34
    /**
35
     * @return string
36
     */
37
    public function getProperty0()
38
    {
39
        return $this->property0;
40
    }
41
42
    /**
43
     * @param string $property20
44
     */
45
    public function setProperty20($property20)
46
    {
47
        $this->property20 = $property20;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getProperty20()
54
    {
55
        return $this->property20;
56
    }
57
58
    /**
59
     * @param string $property30
60
     */
61
    public function setProperty30($property30)
62
    {
63
        $this->property30 = $property30;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getProperty30()
70
    {
71
        return $this->property30;
72
    }
73
74
    /**
75
     * @param string $property31
76
     */
77
    public function setProperty31($property31)
78
    {
79
        $this->property31 = $property31;
80
    }
81
82
    /**
83
     * @return string
84
     */
85
    public function getProperty31()
86
    {
87
        return $this->property31;
88
    }
89
90
    /**
91
     * @param string $property32
92
     */
93
    public function setProperty32($property32)
94
    {
95
        $this->property32 = $property32;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getProperty32()
102
    {
103
        return $this->property32;
104
    }
105
}
106