Skip to content

Commit d224e85

Browse files
alamiraultfabpot
authored andcommitted
Remove usage of empty function when possible
1 parent a78fb3e commit d224e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private function getBodyAndExtraHeaders(Request $request, array $headers): array
8787
return [$part->bodyToIterable(), $part->getPreparedHeaders()->toArray()];
8888
}
8989

90-
if (empty($fields)) {
90+
if (!$fields) {
9191
return ['', []];
9292
}
9393

0 commit comments

Comments
 (0)