mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Drop null-safe operator on dbForPlatform; ctor type is non-nullable
This commit is contained in:
1 parent
052013a29a
commit
c0a7d01de8
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user