Drop null-safe operator on dbForPlatform; ctor type is non-nullable

This commit is contained in:
Prem Palanisamy committed 2026-05-14 05:18:08 +01:00
1 parent 052013a29a
commit c0a7d01de8
1 file changed
+2 -2
+2 -2
View File
@@ -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);