From c0a7d01de8343afc279ef652762406d218bdf733 Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Thu, 14 May 2026 05:18:08 +0100 Subject: [PATCH] Drop null-safe operator on dbForPlatform; ctor type is non-nullable --- src/Migration/Destinations/Appwrite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Migration/Destinations/Appwrite.php b/src/Migration/Destinations/Appwrite.php index d176bf6034..36b60c0242 100644 --- a/src/Migration/Destinations/Appwrite.php +++ b/src/Migration/Destinations/Appwrite.php @@ -425,7 +425,7 @@ class Appwrite extends Destination try { $this->dbForProject->setPreserveDates(true); - $this->dbForPlatform?->setPreserveDates(true); + $this->dbForPlatform->setPreserveDates(true); $responseResource = match ($resource->getGroup()) { Transfer::GROUP_DATABASES => $this->importDatabaseResource($resource, $isLast), @@ -453,7 +453,7 @@ class Appwrite extends Destination $responseResource = $resource; } finally { $this->dbForProject->setPreserveDates(false); - $this->dbForPlatform?->setPreserveDates(false); + $this->dbForPlatform->setPreserveDates(false); } $this->cache->update($responseResource);