Skip to content

Commit 3821a78

Browse files
authored
Merge pull request #52 from didoda/fix/remove-objects-warning
Fix warning for removeObjects
2 parents b7f7a7b + 20a7414 commit 3821a78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BEditaClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ public function remove($id): ?array
219219
*/
220220
public function removeObjects(array $ids): ?array
221221
{
222+
$response = null;
222223
try {
223224
$response = $this->delete(sprintf('/trash?ids=%s', implode(',', $ids)));
224225
} catch (\Exception $e) {

0 commit comments

Comments
 (0)