Skip to content

Commit

Permalink
Merge pull request #53 from didoda/fix/delete-objects-warning
Browse files Browse the repository at this point in the history
Fix `deleteObjects` warning
  • Loading branch information
didoda authored Oct 1, 2024
2 parents 3821a78 + b84fa0c commit ce664f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BEditaClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public function deleteObject($id, string $type): ?array
*/
public function deleteObjects(array $ids, string $type = 'objects'): ?array
{
$response = null;
try {
$response = $this->delete(sprintf('/%s?ids=%s', $type, implode(',', $ids)));
} catch (\Exception $e) {
Expand Down

0 comments on commit ce664f5

Please sign in to comment.