for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Audiens\DoubleclickClient\entity;
class ReportConfig
{
/** @var string */
protected $clientCustomerId;
protected $developerToken;
protected $userAgent;
protected $dateMin;
/** @var \DateTime */
protected $dateMax;
public function __construct($clientCustomerId, $developerToken, $userAgent, \DateTime $dateMin, \DateTime $dateMax)
$this->clientCustomerId = $clientCustomerId;
$this->developerToken = $developerToken;
$this->userAgent = $userAgent;
$this->dateMin = $dateMin;
$dateMin
object<DateTime>
string
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..
$this->dateMax = $dateMax;
}
/**
* @return string
*/
public function getClientCustomerId()
return $this->clientCustomerId;
public function getDeveloperToken()
return $this->developerToken;
public function getUserAgent()
return $this->userAgent;
* @return \DateTime
public function getDateMin()
return $this->dateMin;
public function getDateMax()
return $this->dateMax;
* @return array
public function toArray(): array
return
[
'clientCustomerId' => $this->clientCustomerId,
'developerToken' => $this->developerToken,
'userAgent' => $this->userAgent,
'dateMin' => $this->dateMin,
'dateMax' => $this->dateMax,
];
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..