Skip to content

Commit 6d0db7c

Browse files
authored
Merge pull request #3 from polkovnik-z/master
Catch up with master
2 parents 14145f8 + f850927 commit 6d0db7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polkovnik/php-docker-client",
3-
"version": "1.41.8",
3+
"version": "1.41.10",
44
"description": "Docker APIs driver for PHP.",
55
"homepage": "https://gtihub.com/ibragim64/php-docker-client",
66
"type": "library",

src/DockerClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function getContainerLogs($id, $level = 'all')
282282
try {
283283
$response = $this->request('GET', $endpoint, [], false);
284284

285-
$text = $response->getContent();
285+
$text = $response->getBody()->getContents();
286286
$text = preg_replace('/(?!\n)[\p{Cc}]/', '', $text);
287287

288288
return $text;

0 commit comments

Comments
 (0)