diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index 4bf1fa8..e637c09 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -43,10 +43,10 @@ class BatchPosting implements \Countable /** * Created. * - * @var \DateTime + * @var \DateTimeImmutable * @since 1.0.0 */ - private \DateTime $created; + private \DateTimeImmutable $created; /** * Description. @@ -71,7 +71,7 @@ class BatchPosting implements \Countable */ public function __construct() { - $this->created = new \DateTime('now'); + $this->created = new \DateTimeImmutable('now'); } /** diff --git a/Models/L11nCostCenterMapper.php b/Models/L11nCostCenterMapper.php index 2fff96b..8a4ffe7 100644 --- a/Models/L11nCostCenterMapper.php +++ b/Models/L11nCostCenterMapper.php @@ -46,7 +46,7 @@ final class L11nCostCenterMapper extends DataMapperAbstract /** * Has one relation. * - * @var array + * @var array * @since 1.0.0 */ protected static array $ownsOne = [ diff --git a/Models/L11nCostObjectMapper.php b/Models/L11nCostObjectMapper.php index e759ecc..294486e 100644 --- a/Models/L11nCostObjectMapper.php +++ b/Models/L11nCostObjectMapper.php @@ -46,7 +46,7 @@ final class L11nCostObjectMapper extends DataMapperAbstract /** * Has one relation. * - * @var array + * @var array * @since 1.0.0 */ protected static array $ownsOne = [