Skip to content

Commit

Permalink
fix: wrong cast when http contains integers
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Dec 12, 2022
1 parent ce28328 commit b740209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpCall/Request/BrowserKit.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function send($method, $url, $parameters = [], $files = [], $content = nu
{
foreach ($files as $originalName => &$file) {
if (\is_string($file)) {
$file = new UploadedFile($file, $originalName);
$file = new UploadedFile($file, (string) $originalName);
}
}

Expand Down

0 comments on commit b740209

Please sign in to comment.