From 467774deaaf8f90f5541ac816ec271db462bbd04 Mon Sep 17 00:00:00 2001 From: odain Date: Mon, 24 Aug 2026 19:31:42 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09949=20-=20phpstan=20code=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Entity/DeletionPlanEntity.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/datamodels/2.x/combodo-data-feature-removal/src/Entity/DeletionPlanEntity.php b/datamodels/2.x/combodo-data-feature-removal/src/Entity/DeletionPlanEntity.php index bd001e0400..f56027d387 100644 --- a/datamodels/2.x/combodo-data-feature-removal/src/Entity/DeletionPlanEntity.php +++ b/datamodels/2.x/combodo-data-feature-removal/src/Entity/DeletionPlanEntity.php @@ -12,17 +12,12 @@ class DeletionPlanEntity public readonly DeletionPlanItem $oDelete; public readonly DeletionPlanItem $oUpdate; public readonly DeletionPlanItem $oIssue; - - /** - * @param \Combodo\iTop\DataFeatureRemoval\Entity\DeletionPlanItem $oDelete - * @param \Combodo\iTop\DataFeatureRemoval\Entity\DeletionPlanItem $oUpdate - * @param \Combodo\iTop\DataFeatureRemoval\Entity\DeletionPlanItem $oIssue - */ + public function __construct() { - $this->oDelete = $oDelete ?? new DeletionPlanItem(); - $this->oUpdate = $oUpdate ?? new DeletionPlanItem(); - $this->oIssue = $oIssue ?? new DeletionPlanItem(); + $this->oDelete = new DeletionPlanItem(); + $this->oUpdate = new DeletionPlanItem(); + $this->oIssue = new DeletionPlanItem(); } public function TotalCount(): int