Skip to content

Commit ebc812b

Browse files
committed
Format
1 parent 11484f9 commit ebc812b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Database/Adapter/SQL.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,12 +1432,12 @@ public function updateDocuments(string $collection, Document $updates, array $do
14321432
{$this->getTenantQuery($collection)}
14331433
AND _type = '{$type}'
14341434
AND _permission IN (" . \implode(', ', \array_map(function (string $i) use ($permissionsToRemove, $index, $type, &$removeBindKeys, &$removeBindValues) {
1435-
$bindKey = 'remove_' . $type . '_' . $index . '_' . $i;
1436-
$removeBindKeys[] = ':' . $bindKey;
1437-
$removeBindValues[$bindKey] = $permissionsToRemove[$i];
1435+
$bindKey = 'remove_' . $type . '_' . $index . '_' . $i;
1436+
$removeBindKeys[] = ':' . $bindKey;
1437+
$removeBindValues[$bindKey] = $permissionsToRemove[$i];
14381438

1439-
return ':' . $bindKey;
1440-
}, \array_keys($permissionsToRemove))) .
1439+
return ':' . $bindKey;
1440+
}, \array_keys($permissionsToRemove))) .
14411441
")
14421442
)";
14431443
}

0 commit comments

Comments
 (0)