Skip to content

Commit 2b627b7

Browse files
committed
cs fix
1 parent d30d885 commit 2b627b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Space.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,10 @@ public function update($instance, Operations|array $operations)
460460
$data = $operations;
461461
$operations = null;
462462
foreach ($data as $k => $v) {
463-
if ($operations == null) {
464-
$operations = Operations::set($k, $v);
465-
} else {
463+
if ($operations !== null) {
466464
$operations = $operations->andSet($k, $v);
465+
} else {
466+
$operations = Operations::set($k, $v);
467467
}
468468
}
469469
}

0 commit comments

Comments
 (0)