1 | <?php |
||
2 | |||
3 | namespace DevoraliveCachet\Entity; |
||
4 | |||
5 | use JMS\Serializer\Annotation as JMS; |
||
6 | |||
7 | /** |
||
8 | * Class Group |
||
9 | * @package DevoraliveCachet\Entity |
||
10 | */ |
||
11 | class Group extends Entity |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | * @JMS\Type("string") |
||
16 | */ |
||
17 | protected $name; |
||
18 | |||
19 | /** |
||
20 | * @var int |
||
21 | * @JMS\Type("int") |
||
22 | */ |
||
23 | protected $order; |
||
24 | |||
25 | /** |
||
26 | * @var int |
||
27 | * @JMS\Type("boolean") |
||
28 | */ |
||
29 | protected $collapsed; |
||
30 | |||
31 | /** |
||
32 | * Get the value of Name |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getName() |
||
37 | { |
||
38 | return $this->name; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Set the value of Name |
||
43 | * |
||
44 | * @param string name |
||
0 ignored issues
–
show
|
|||
45 | * |
||
46 | * @return self |
||
47 | */ |
||
48 | public function setName($name) |
||
49 | { |
||
50 | $this->name = $name; |
||
51 | |||
52 | return $this; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * Get the value of Order |
||
57 | * |
||
58 | * @return int |
||
59 | */ |
||
60 | public function getOrder() |
||
61 | { |
||
62 | return $this->order; |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * Set the value of Order |
||
67 | * |
||
68 | * @param int order |
||
0 ignored issues
–
show
The type
DevoraliveCachet\Entity\order was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
69 | * |
||
70 | * @return self |
||
71 | */ |
||
72 | public function setOrder($order) |
||
73 | { |
||
74 | $this->order = $order; |
||
75 | |||
76 | return $this; |
||
77 | } |
||
78 | |||
79 | /** |
||
80 | * Get the value of Collapsed |
||
81 | * |
||
82 | * @return int |
||
83 | */ |
||
84 | public function getCollapsed() |
||
85 | { |
||
86 | return $this->collapsed; |
||
87 | } |
||
88 | |||
89 | /** |
||
90 | * Set the value of Collapsed |
||
91 | * |
||
92 | * @param int collapsed |
||
0 ignored issues
–
show
The type
DevoraliveCachet\Entity\collapsed was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
93 | * |
||
94 | * @return self |
||
95 | */ |
||
96 | public function setCollapsed($collapsed) |
||
97 | { |
||
98 | $this->collapsed = $collapsed; |
||
99 | |||
100 | return $this; |
||
101 | } |
||
102 | } |
||
103 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths