Skip to content

Commit 1cf2624

Browse files
fix
1 parent c168e83 commit 1cf2624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/http/src/IsRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function accepts(ContentType ...$contentTypes): bool
158158
];
159159
}
160160

161-
if (empty($mediaTypes)) {
161+
if (count($mediaTypes) === 0) {
162162
return true;
163163
}
164164

0 commit comments

Comments
 (0)