v1.2.2 #5

Merged
anthony merged 4 commits from dev into master 2023-08-13 06:04:05 +03:00
Showing only changes of commit fb7b4baa32 - Show all commits

View File

@@ -53,7 +53,7 @@ class WgetRequest extends AbstractRequest
$output[] = http_build_query($params); $output[] = http_build_query($params);
return $output; return $output;
default: default:
return ["\t$this->body"]; return ["\t'$this->body' \ "];
} }
} }
@@ -75,7 +75,6 @@ class WgetRequest extends AbstractRequest
$this->prepareHeaders(), $this->prepareHeaders(),
$this->prepareBody() $this->prepareBody()
); );
$output[] = rtrim(array_pop($output), '\ ');
$output[] = "\t'$this->url'"; $output[] = "\t'$this->url'";
return implode(PHP_EOL, array_merge($output, [''])); return implode(PHP_EOL, array_merge($output, ['']));
} }