Skip to content

Commit ce664f5

Browse files
authored
Merge pull request #53 from didoda/fix/delete-objects-warning
Fix `deleteObjects` warning
2 parents 3821a78 + b84fa0c commit ce664f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/BEditaClient.php

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ public function deleteObject($id, string $type): ?array
188188
*/
189189
public function deleteObjects(array $ids, string $type = 'objects'): ?array
190190
{
191+
$response = null;
191192
try {
192193
$response = $this->delete(sprintf('/%s?ids=%s', $type, implode(',', $ids)));
193194
} catch (\Exception $e) {

0 commit comments

Comments
 (0)