for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Gueststream\PMS\IQWare\API;
class WSCRS_GetAvailability
{
/**
* @var \DateTime $StartDate
*/
protected $StartDate = null;
* @param \DateTime $StartDate
public function __construct(\DateTime $StartDate)
$this->StartDate = $StartDate->format(\DateTime::ATOM);
$StartDate->format(\DateTime::ATOM)
string
object<DateTime>
$StartDate
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..
}
* @return \DateTime
public function getStartDate()
if ($this->StartDate == null) {
return null;
} else {
try {
return new \DateTime($this->StartDate);
} catch (\Exception $e) {
return false;
* @return \Gueststream\PMS\IQWare\API\WSCRS_GetAvailability
public function setStartDate(\DateTime $StartDate)
return $this;
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..