1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* This file is part of PHP CS Fixer. |
5
|
|
|
* |
6
|
|
|
* (c) Fabien Potencier <[email protected]> |
7
|
|
|
* Dariusz Rumiński <[email protected]> |
8
|
|
|
* |
9
|
|
|
* This source file is subject to the MIT license that is bundled |
10
|
|
|
* with this source code in the file LICENSE. |
11
|
|
|
*/ |
12
|
|
|
|
13
|
|
|
namespace Etrias\PaazlConnector\SoapTypes; |
14
|
|
|
|
15
|
|
|
class Time |
16
|
|
|
{ |
17
|
|
|
/** |
18
|
|
|
* @var dayType |
|
|
|
|
19
|
|
|
*/ |
20
|
|
|
protected $day = null; |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @var bool |
24
|
|
|
*/ |
25
|
|
|
protected $alwaysOpen = null; |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* @var string |
29
|
|
|
*/ |
30
|
|
|
protected $openFromAfternoon = null; |
31
|
|
|
|
32
|
|
|
/** |
33
|
|
|
* @var string |
34
|
|
|
*/ |
35
|
|
|
protected $openFromMorning = null; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @var string |
39
|
|
|
*/ |
40
|
|
|
protected $openTillAfternoon = null; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @var string |
44
|
|
|
*/ |
45
|
|
|
protected $openTillMorning = null; |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* Constructor. |
49
|
|
|
* |
50
|
|
|
* @var dayType |
51
|
|
|
* @var bool $alwaysOpen |
52
|
|
|
* @var string $openFromAfternoon |
53
|
|
|
* @var string $openFromMorning |
54
|
|
|
* @var string $openTillAfternoon |
55
|
|
|
* @var string $openTillMorning |
56
|
|
|
* |
57
|
|
|
* @param null|mixed $day |
58
|
|
|
* @param null|mixed $alwaysOpen |
59
|
|
|
* @param null|mixed $openFromAfternoon |
60
|
|
|
* @param null|mixed $openFromMorning |
61
|
|
|
* @param null|mixed $openTillAfternoon |
62
|
|
|
* @param null|mixed $openTillMorning |
63
|
|
|
*/ |
64
|
|
|
public function __construct($day = null, $alwaysOpen = null, $openFromAfternoon = null, $openFromMorning = null, $openTillAfternoon = null, $openTillMorning = null) |
65
|
|
|
{ |
66
|
|
|
$this->day = $day; |
67
|
|
|
$this->alwaysOpen = $alwaysOpen; |
68
|
|
|
$this->openFromAfternoon = $openFromAfternoon; |
69
|
|
|
$this->openFromMorning = $openFromMorning; |
70
|
|
|
$this->openTillAfternoon = $openTillAfternoon; |
71
|
|
|
$this->openTillMorning = $openTillMorning; |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @return dayType |
76
|
|
|
*/ |
77
|
|
|
public function getDay() |
78
|
|
|
{ |
79
|
|
|
return $this->day; |
80
|
|
|
} |
81
|
|
|
|
82
|
|
|
/** |
83
|
|
|
* @param dayType $day |
84
|
|
|
* |
85
|
|
|
* @return $this |
86
|
|
|
*/ |
87
|
|
|
public function setDay($day) |
88
|
|
|
{ |
89
|
|
|
$this->day = $day; |
90
|
|
|
|
91
|
|
|
return $this; |
92
|
|
|
} |
93
|
|
|
|
94
|
|
|
/** |
95
|
|
|
* @return bool |
96
|
|
|
*/ |
97
|
|
|
public function getAlwaysOpen() |
98
|
|
|
{ |
99
|
|
|
return $this->alwaysOpen; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* @param bool $alwaysOpen |
104
|
|
|
* |
105
|
|
|
* @return $this |
106
|
|
|
*/ |
107
|
|
|
public function setAlwaysOpen($alwaysOpen) |
108
|
|
|
{ |
109
|
|
|
$this->alwaysOpen = $alwaysOpen; |
110
|
|
|
|
111
|
|
|
return $this; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* @return string |
116
|
|
|
*/ |
117
|
|
|
public function getOpenFromAfternoon() |
118
|
|
|
{ |
119
|
|
|
return $this->openFromAfternoon; |
120
|
|
|
} |
121
|
|
|
|
122
|
|
|
/** |
123
|
|
|
* @param string $openFromAfternoon |
124
|
|
|
* |
125
|
|
|
* @return $this |
126
|
|
|
*/ |
127
|
|
|
public function setOpenFromAfternoon($openFromAfternoon) |
128
|
|
|
{ |
129
|
|
|
$this->openFromAfternoon = $openFromAfternoon; |
130
|
|
|
|
131
|
|
|
return $this; |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
/** |
135
|
|
|
* @return string |
136
|
|
|
*/ |
137
|
|
|
public function getOpenFromMorning() |
138
|
|
|
{ |
139
|
|
|
return $this->openFromMorning; |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* @param string $openFromMorning |
144
|
|
|
* |
145
|
|
|
* @return $this |
146
|
|
|
*/ |
147
|
|
|
public function setOpenFromMorning($openFromMorning) |
148
|
|
|
{ |
149
|
|
|
$this->openFromMorning = $openFromMorning; |
150
|
|
|
|
151
|
|
|
return $this; |
152
|
|
|
} |
153
|
|
|
|
154
|
|
|
/** |
155
|
|
|
* @return string |
156
|
|
|
*/ |
157
|
|
|
public function getOpenTillAfternoon() |
158
|
|
|
{ |
159
|
|
|
return $this->openTillAfternoon; |
160
|
|
|
} |
161
|
|
|
|
162
|
|
|
/** |
163
|
|
|
* @param string $openTillAfternoon |
164
|
|
|
* |
165
|
|
|
* @return $this |
166
|
|
|
*/ |
167
|
|
|
public function setOpenTillAfternoon($openTillAfternoon) |
168
|
|
|
{ |
169
|
|
|
$this->openTillAfternoon = $openTillAfternoon; |
170
|
|
|
|
171
|
|
|
return $this; |
172
|
|
|
} |
173
|
|
|
|
174
|
|
|
/** |
175
|
|
|
* @return string |
176
|
|
|
*/ |
177
|
|
|
public function getOpenTillMorning() |
178
|
|
|
{ |
179
|
|
|
return $this->openTillMorning; |
180
|
|
|
} |
181
|
|
|
|
182
|
|
|
/** |
183
|
|
|
* @param string $openTillMorning |
184
|
|
|
* |
185
|
|
|
* @return $this |
186
|
|
|
*/ |
187
|
|
|
public function setOpenTillMorning($openTillMorning) |
188
|
|
|
{ |
189
|
|
|
$this->openTillMorning = $openTillMorning; |
190
|
|
|
|
191
|
|
|
return $this; |
192
|
|
|
} |
193
|
|
|
} |
194
|
|
|
|
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