This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Gueststream\PMS\IQWare\API; |
||
4 | |||
5 | class WebRes_GetSbdItemsPricing |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var int $intGUID |
||
10 | */ |
||
11 | protected $intGUID = null; |
||
12 | |||
13 | /** |
||
14 | * @var string $strISOLanguage |
||
15 | */ |
||
16 | protected $strISOLanguage = null; |
||
17 | |||
18 | /** |
||
19 | * @var int $intRoomType |
||
20 | */ |
||
21 | protected $intRoomType = null; |
||
22 | |||
23 | /** |
||
24 | * @var int $intRateID |
||
25 | */ |
||
26 | protected $intRateID = null; |
||
27 | |||
28 | /** |
||
29 | * @var int $intGuestCount |
||
30 | */ |
||
31 | protected $intGuestCount = null; |
||
32 | |||
33 | /** |
||
34 | * @var string $strChildren |
||
35 | */ |
||
36 | protected $strChildren = null; |
||
37 | |||
38 | /** |
||
39 | * @var \DateTime $dArrDate |
||
40 | */ |
||
41 | protected $dArrDate = null; |
||
42 | |||
43 | /** |
||
44 | * @var \DateTime $dDepDate |
||
45 | */ |
||
46 | protected $dDepDate = null; |
||
47 | |||
48 | /** |
||
49 | * @var string $strAttributes |
||
50 | */ |
||
51 | protected $strAttributes = null; |
||
52 | |||
53 | /** |
||
54 | * @var string $strLocations |
||
55 | */ |
||
56 | protected $strLocations = null; |
||
57 | |||
58 | /** |
||
59 | * @var int $intRoomQty |
||
60 | */ |
||
61 | protected $intRoomQty = null; |
||
62 | |||
63 | /** |
||
64 | * @param int $intGUID |
||
65 | * @param string $strISOLanguage |
||
66 | * @param int $intRoomType |
||
67 | * @param int $intRateID |
||
68 | * @param int $intGuestCount |
||
69 | * @param string $strChildren |
||
70 | * @param \DateTime $dArrDate |
||
71 | * @param \DateTime $dDepDate |
||
72 | * @param string $strAttributes |
||
73 | * @param string $strLocations |
||
74 | * @param int $intRoomQty |
||
75 | */ |
||
76 | public function __construct($intGUID, $strISOLanguage, $intRoomType, $intRateID, $intGuestCount, $strChildren, \DateTime $dArrDate, \DateTime $dDepDate, $strAttributes, $strLocations, $intRoomQty) |
||
77 | { |
||
78 | $this->intGUID = $intGUID; |
||
79 | $this->strISOLanguage = $strISOLanguage; |
||
80 | $this->intRoomType = $intRoomType; |
||
81 | $this->intRateID = $intRateID; |
||
82 | $this->intGuestCount = $intGuestCount; |
||
83 | $this->strChildren = $strChildren; |
||
84 | $this->dArrDate = $dArrDate->format('Y-m-d'); |
||
0 ignored issues
–
show
|
|||
85 | $this->dDepDate = $dDepDate->format('Y-m-d'); |
||
0 ignored issues
–
show
It seems like
$dDepDate->format('Y-m-d') of type string is incompatible with the declared type object<DateTime> of property $dDepDate .
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.. ![]() |
|||
86 | $this->strAttributes = $strAttributes; |
||
87 | $this->strLocations = $strLocations; |
||
88 | $this->intRoomQty = $intRoomQty; |
||
89 | } |
||
90 | |||
91 | /** |
||
92 | * @return int |
||
93 | */ |
||
94 | public function getIntGUID() |
||
95 | { |
||
96 | return $this->intGUID; |
||
97 | } |
||
98 | |||
99 | /** |
||
100 | * @param int $intGUID |
||
101 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
102 | */ |
||
103 | public function setIntGUID($intGUID) |
||
104 | { |
||
105 | $this->intGUID = $intGUID; |
||
106 | return $this; |
||
107 | } |
||
108 | |||
109 | /** |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getStrISOLanguage() |
||
113 | { |
||
114 | return $this->strISOLanguage; |
||
115 | } |
||
116 | |||
117 | /** |
||
118 | * @param string $strISOLanguage |
||
119 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
120 | */ |
||
121 | public function setStrISOLanguage($strISOLanguage) |
||
122 | { |
||
123 | $this->strISOLanguage = $strISOLanguage; |
||
124 | return $this; |
||
125 | } |
||
126 | |||
127 | /** |
||
128 | * @return int |
||
129 | */ |
||
130 | public function getIntRoomType() |
||
131 | { |
||
132 | return $this->intRoomType; |
||
133 | } |
||
134 | |||
135 | /** |
||
136 | * @param int $intRoomType |
||
137 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
138 | */ |
||
139 | public function setIntRoomType($intRoomType) |
||
140 | { |
||
141 | $this->intRoomType = $intRoomType; |
||
142 | return $this; |
||
143 | } |
||
144 | |||
145 | /** |
||
146 | * @return int |
||
147 | */ |
||
148 | public function getIntRateID() |
||
149 | { |
||
150 | return $this->intRateID; |
||
151 | } |
||
152 | |||
153 | /** |
||
154 | * @param int $intRateID |
||
155 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
156 | */ |
||
157 | public function setIntRateID($intRateID) |
||
158 | { |
||
159 | $this->intRateID = $intRateID; |
||
160 | return $this; |
||
161 | } |
||
162 | |||
163 | /** |
||
164 | * @return int |
||
165 | */ |
||
166 | public function getIntGuestCount() |
||
167 | { |
||
168 | return $this->intGuestCount; |
||
169 | } |
||
170 | |||
171 | /** |
||
172 | * @param int $intGuestCount |
||
173 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
174 | */ |
||
175 | public function setIntGuestCount($intGuestCount) |
||
176 | { |
||
177 | $this->intGuestCount = $intGuestCount; |
||
178 | return $this; |
||
179 | } |
||
180 | |||
181 | /** |
||
182 | * @return string |
||
183 | */ |
||
184 | public function getStrChildren() |
||
185 | { |
||
186 | return $this->strChildren; |
||
187 | } |
||
188 | |||
189 | /** |
||
190 | * @param string $strChildren |
||
191 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
192 | */ |
||
193 | public function setStrChildren($strChildren) |
||
194 | { |
||
195 | $this->strChildren = $strChildren; |
||
196 | return $this; |
||
197 | } |
||
198 | |||
199 | /** |
||
200 | * @return \DateTime |
||
201 | */ |
||
202 | public function getDArrDate() |
||
203 | { |
||
204 | if ($this->dArrDate == null) { |
||
205 | return null; |
||
206 | } else { |
||
207 | try { |
||
208 | return new \DateTime($this->dArrDate); |
||
209 | } catch (\Exception $e) { |
||
210 | return false; |
||
211 | } |
||
212 | } |
||
213 | } |
||
214 | |||
215 | /** |
||
216 | * @param \DateTime $dArrDate |
||
217 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
218 | */ |
||
219 | public function setDArrDate(\DateTime $dArrDate) |
||
220 | { |
||
221 | $this->dArrDate = $dArrDate->format('Y-m-d'); |
||
0 ignored issues
–
show
It seems like
$dArrDate->format('Y-m-d') of type string is incompatible with the declared type object<DateTime> of property $dArrDate .
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.. ![]() |
|||
222 | return $this; |
||
223 | } |
||
224 | |||
225 | /** |
||
226 | * @return \DateTime |
||
227 | */ |
||
228 | public function getDDepDate() |
||
229 | { |
||
230 | if ($this->dDepDate == null) { |
||
231 | return null; |
||
232 | } else { |
||
233 | try { |
||
234 | return new \DateTime($this->dDepDate); |
||
235 | } catch (\Exception $e) { |
||
236 | return false; |
||
237 | } |
||
238 | } |
||
239 | } |
||
240 | |||
241 | /** |
||
242 | * @param \DateTime $dDepDate |
||
243 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
244 | */ |
||
245 | public function setDDepDate(\DateTime $dDepDate) |
||
246 | { |
||
247 | $this->dDepDate = $dDepDate->format('Y-m-d'); |
||
0 ignored issues
–
show
It seems like
$dDepDate->format('Y-m-d') of type string is incompatible with the declared type object<DateTime> of property $dDepDate .
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.. ![]() |
|||
248 | return $this; |
||
249 | } |
||
250 | |||
251 | /** |
||
252 | * @return string |
||
253 | */ |
||
254 | public function getStrAttributes() |
||
255 | { |
||
256 | return $this->strAttributes; |
||
257 | } |
||
258 | |||
259 | /** |
||
260 | * @param string $strAttributes |
||
261 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
262 | */ |
||
263 | public function setStrAttributes($strAttributes) |
||
264 | { |
||
265 | $this->strAttributes = $strAttributes; |
||
266 | return $this; |
||
267 | } |
||
268 | |||
269 | /** |
||
270 | * @return string |
||
271 | */ |
||
272 | public function getStrLocations() |
||
273 | { |
||
274 | return $this->strLocations; |
||
275 | } |
||
276 | |||
277 | /** |
||
278 | * @param string $strLocations |
||
279 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
280 | */ |
||
281 | public function setStrLocations($strLocations) |
||
282 | { |
||
283 | $this->strLocations = $strLocations; |
||
284 | return $this; |
||
285 | } |
||
286 | |||
287 | /** |
||
288 | * @return int |
||
289 | */ |
||
290 | public function getIntRoomQty() |
||
291 | { |
||
292 | return $this->intRoomQty; |
||
293 | } |
||
294 | |||
295 | /** |
||
296 | * @param int $intRoomQty |
||
297 | * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing |
||
298 | */ |
||
299 | public function setIntRoomQty($intRoomQty) |
||
300 | { |
||
301 | $this->intRoomQty = $intRoomQty; |
||
302 | return $this; |
||
303 | } |
||
304 | } |
||
305 |
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..