Skip to content

Commit 844384a

Browse files
authored
fix: use trime before check empty string (#57583)
1 parent 01eedf4 commit 844384a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Bus/DynamoBatchRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function get($limit = 50, $before = null)
119119
*/
120120
public function find(string $batchId)
121121
{
122-
if ($batchId === '') {
122+
if (trim($batchId) === '') {
123123
return null;
124124
}
125125

0 commit comments

Comments
 (0)