Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Commit 7a1aca8

Browse files
author
Terje Bråten
committed
Do not use UploadFile for GoutteClient
1 parent d784bce commit 7a1aca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpCall/Request/BrowserKit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function send($method, $url, $parameters = [], $files = [], $content = nu
6262
$client = $this->mink->getSession()->getDriver()->getClient();
6363

6464
$tmpFiles = [];
65-
if (true || !$client instanceof GoutteClient) {
65+
if (!$client instanceof GoutteClient) {
6666
foreach ($files as &$file) {
6767
if (is_string($file)) {
6868
$tmpName = tempnam(sys_get_temp_dir(), 'upload');

0 commit comments

Comments
 (0)