Gueststream-Inc /
iqware
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 getAllRoomsAvailabilityForStay |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var int $guid |
||
| 10 | */ |
||
| 11 | protected $guid = null; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string $strRoomIDs |
||
| 15 | */ |
||
| 16 | protected $strRoomIDs = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string $strRoomTypeIDs |
||
| 20 | */ |
||
| 21 | protected $strRoomTypeIDs = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string $strRoomAttributeIDs |
||
| 25 | */ |
||
| 26 | protected $strRoomAttributeIDs = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string $strRoomLocationIDs |
||
| 30 | */ |
||
| 31 | protected $strRoomLocationIDs = null; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string $strBuildingIDs |
||
| 35 | */ |
||
| 36 | protected $strBuildingIDs = null; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var string $strBeddingIDs |
||
| 40 | */ |
||
| 41 | protected $strBeddingIDs = null; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var \DateTime $ArrivalDate |
||
| 45 | */ |
||
| 46 | protected $ArrivalDate = null; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var \DateTime $DepartureDate |
||
| 50 | */ |
||
| 51 | protected $DepartureDate = null; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var string $strAttributeGroupings |
||
| 55 | */ |
||
| 56 | protected $strAttributeGroupings = null; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @var string $strLocationsGroupings |
||
| 60 | */ |
||
| 61 | protected $strLocationsGroupings = null; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param int $guid |
||
| 65 | * @param string $strRoomIDs |
||
| 66 | * @param string $strRoomTypeIDs |
||
| 67 | * @param string $strRoomAttributeIDs |
||
| 68 | * @param string $strRoomLocationIDs |
||
| 69 | * @param string $strBuildingIDs |
||
| 70 | * @param string $strBeddingIDs |
||
| 71 | * @param \DateTime $ArrivalDate |
||
| 72 | * @param \DateTime $DepartureDate |
||
| 73 | * @param string $strAttributeGroupings |
||
| 74 | * @param string $strLocationsGroupings |
||
| 75 | */ |
||
| 76 | public function __construct($guid, $strRoomIDs, $strRoomTypeIDs, $strRoomAttributeIDs, $strRoomLocationIDs, $strBuildingIDs, $strBeddingIDs, \DateTime $ArrivalDate, \DateTime $DepartureDate, $strAttributeGroupings, $strLocationsGroupings) |
||
| 77 | { |
||
| 78 | $this->guid = $guid; |
||
| 79 | $this->strRoomIDs = $strRoomIDs; |
||
| 80 | $this->strRoomTypeIDs = $strRoomTypeIDs; |
||
| 81 | $this->strRoomAttributeIDs = $strRoomAttributeIDs; |
||
| 82 | $this->strRoomLocationIDs = $strRoomLocationIDs; |
||
| 83 | $this->strBuildingIDs = $strBuildingIDs; |
||
| 84 | $this->strBeddingIDs = $strBeddingIDs; |
||
| 85 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
||
|
0 ignored issues
–
show
|
|||
| 86 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
||
|
0 ignored issues
–
show
It seems like
$DepartureDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DepartureDate.
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...
|
|||
| 87 | $this->strAttributeGroupings = $strAttributeGroupings; |
||
| 88 | $this->strLocationsGroupings = $strLocationsGroupings; |
||
| 89 | } |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @return int |
||
| 93 | */ |
||
| 94 | public function getGuid() |
||
| 95 | { |
||
| 96 | return $this->guid; |
||
| 97 | } |
||
| 98 | |||
| 99 | /** |
||
| 100 | * @param int $guid |
||
| 101 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 102 | */ |
||
| 103 | public function setGuid($guid) |
||
| 104 | { |
||
| 105 | $this->guid = $guid; |
||
| 106 | return $this; |
||
| 107 | } |
||
| 108 | |||
| 109 | /** |
||
| 110 | * @return string |
||
| 111 | */ |
||
| 112 | public function getStrRoomIDs() |
||
| 113 | { |
||
| 114 | return $this->strRoomIDs; |
||
| 115 | } |
||
| 116 | |||
| 117 | /** |
||
| 118 | * @param string $strRoomIDs |
||
| 119 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 120 | */ |
||
| 121 | public function setStrRoomIDs($strRoomIDs) |
||
| 122 | { |
||
| 123 | $this->strRoomIDs = $strRoomIDs; |
||
| 124 | return $this; |
||
| 125 | } |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @return string |
||
| 129 | */ |
||
| 130 | public function getStrRoomTypeIDs() |
||
| 131 | { |
||
| 132 | return $this->strRoomTypeIDs; |
||
| 133 | } |
||
| 134 | |||
| 135 | /** |
||
| 136 | * @param string $strRoomTypeIDs |
||
| 137 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 138 | */ |
||
| 139 | public function setStrRoomTypeIDs($strRoomTypeIDs) |
||
| 140 | { |
||
| 141 | $this->strRoomTypeIDs = $strRoomTypeIDs; |
||
| 142 | return $this; |
||
| 143 | } |
||
| 144 | |||
| 145 | /** |
||
| 146 | * @return string |
||
| 147 | */ |
||
| 148 | public function getStrRoomAttributeIDs() |
||
| 149 | { |
||
| 150 | return $this->strRoomAttributeIDs; |
||
| 151 | } |
||
| 152 | |||
| 153 | /** |
||
| 154 | * @param string $strRoomAttributeIDs |
||
| 155 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 156 | */ |
||
| 157 | public function setStrRoomAttributeIDs($strRoomAttributeIDs) |
||
| 158 | { |
||
| 159 | $this->strRoomAttributeIDs = $strRoomAttributeIDs; |
||
| 160 | return $this; |
||
| 161 | } |
||
| 162 | |||
| 163 | /** |
||
| 164 | * @return string |
||
| 165 | */ |
||
| 166 | public function getStrRoomLocationIDs() |
||
| 167 | { |
||
| 168 | return $this->strRoomLocationIDs; |
||
| 169 | } |
||
| 170 | |||
| 171 | /** |
||
| 172 | * @param string $strRoomLocationIDs |
||
| 173 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 174 | */ |
||
| 175 | public function setStrRoomLocationIDs($strRoomLocationIDs) |
||
| 176 | { |
||
| 177 | $this->strRoomLocationIDs = $strRoomLocationIDs; |
||
| 178 | return $this; |
||
| 179 | } |
||
| 180 | |||
| 181 | /** |
||
| 182 | * @return string |
||
| 183 | */ |
||
| 184 | public function getStrBuildingIDs() |
||
| 185 | { |
||
| 186 | return $this->strBuildingIDs; |
||
| 187 | } |
||
| 188 | |||
| 189 | /** |
||
| 190 | * @param string $strBuildingIDs |
||
| 191 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 192 | */ |
||
| 193 | public function setStrBuildingIDs($strBuildingIDs) |
||
| 194 | { |
||
| 195 | $this->strBuildingIDs = $strBuildingIDs; |
||
| 196 | return $this; |
||
| 197 | } |
||
| 198 | |||
| 199 | /** |
||
| 200 | * @return string |
||
| 201 | */ |
||
| 202 | public function getStrBeddingIDs() |
||
| 203 | { |
||
| 204 | return $this->strBeddingIDs; |
||
| 205 | } |
||
| 206 | |||
| 207 | /** |
||
| 208 | * @param string $strBeddingIDs |
||
| 209 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 210 | */ |
||
| 211 | public function setStrBeddingIDs($strBeddingIDs) |
||
| 212 | { |
||
| 213 | $this->strBeddingIDs = $strBeddingIDs; |
||
| 214 | return $this; |
||
| 215 | } |
||
| 216 | |||
| 217 | /** |
||
| 218 | * @return \DateTime |
||
| 219 | */ |
||
| 220 | public function getArrivalDate() |
||
| 221 | { |
||
| 222 | if ($this->ArrivalDate == null) { |
||
| 223 | return null; |
||
| 224 | } else { |
||
| 225 | try { |
||
| 226 | return new \DateTime($this->ArrivalDate); |
||
| 227 | } catch (\Exception $e) { |
||
| 228 | return false; |
||
| 229 | } |
||
| 230 | } |
||
| 231 | } |
||
| 232 | |||
| 233 | /** |
||
| 234 | * @param \DateTime $ArrivalDate |
||
| 235 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 236 | */ |
||
| 237 | public function setArrivalDate(\DateTime $ArrivalDate) |
||
| 238 | { |
||
| 239 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
||
|
0 ignored issues
–
show
It seems like
$ArrivalDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $ArrivalDate.
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...
|
|||
| 240 | return $this; |
||
| 241 | } |
||
| 242 | |||
| 243 | /** |
||
| 244 | * @return \DateTime |
||
| 245 | */ |
||
| 246 | public function getDepartureDate() |
||
| 247 | { |
||
| 248 | if ($this->DepartureDate == null) { |
||
| 249 | return null; |
||
| 250 | } else { |
||
| 251 | try { |
||
| 252 | return new \DateTime($this->DepartureDate); |
||
| 253 | } catch (\Exception $e) { |
||
| 254 | return false; |
||
| 255 | } |
||
| 256 | } |
||
| 257 | } |
||
| 258 | |||
| 259 | /** |
||
| 260 | * @param \DateTime $DepartureDate |
||
| 261 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 262 | */ |
||
| 263 | public function setDepartureDate(\DateTime $DepartureDate) |
||
| 264 | { |
||
| 265 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
||
|
0 ignored issues
–
show
It seems like
$DepartureDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DepartureDate.
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...
|
|||
| 266 | return $this; |
||
| 267 | } |
||
| 268 | |||
| 269 | /** |
||
| 270 | * @return string |
||
| 271 | */ |
||
| 272 | public function getStrAttributeGroupings() |
||
| 273 | { |
||
| 274 | return $this->strAttributeGroupings; |
||
| 275 | } |
||
| 276 | |||
| 277 | /** |
||
| 278 | * @param string $strAttributeGroupings |
||
| 279 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 280 | */ |
||
| 281 | public function setStrAttributeGroupings($strAttributeGroupings) |
||
| 282 | { |
||
| 283 | $this->strAttributeGroupings = $strAttributeGroupings; |
||
| 284 | return $this; |
||
| 285 | } |
||
| 286 | |||
| 287 | /** |
||
| 288 | * @return string |
||
| 289 | */ |
||
| 290 | public function getStrLocationsGroupings() |
||
| 291 | { |
||
| 292 | return $this->strLocationsGroupings; |
||
| 293 | } |
||
| 294 | |||
| 295 | /** |
||
| 296 | * @param string $strLocationsGroupings |
||
| 297 | * @return \Gueststream\PMS\IQWare\API\getAllRoomsAvailabilityForStay |
||
| 298 | */ |
||
| 299 | public function setStrLocationsGroupings($strLocationsGroupings) |
||
| 300 | { |
||
| 301 | $this->strLocationsGroupings = $strLocationsGroupings; |
||
| 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..