Skip to content

Commit 1cd2719

Browse files
Striftnorkunas
andauthored
Update src/Endpoints/Delegates/HandlesBatches.php
Co-authored-by: Tomas Norkūnas <[email protected]>
1 parent aab82ed commit 1cd2719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Endpoints/Delegates/HandlesBatches.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function getBatch($uid): array
1919

2020
public function getBatches(?BatchesQuery $options = null): BatchesResults
2121
{
22-
$query = isset($options) ? $options->toArray() : [];
22+
$query = null !== $options ? $options->toArray() : [];
2323

2424
$response = $this->batches->all($query);
2525

0 commit comments

Comments
 (0)