summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--src/Client.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 0fbb9f7..cf85a5b 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,6 @@
{
"name": "ch1p/jobd-client",
- "version": "1.6.0",
+ "version": "1.6.1",
"license": "BSD-2-Clause",
"keywords": ["queue", "job", "jobd"],
"repositories": [
diff --git a/src/Client.php b/src/Client.php
index b66b6e7..f98bfd6 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -184,7 +184,7 @@ abstract class Client {
trigger_error(__METHOD__.": received more than one message");
$response = null;
- $messages = array_map('self::parseMessage', $messages);
+ $messages = array_map(self::class.'::parseMessage', $messages);
if ($request_no != -1) {
/**
* @var ResponseMessage[] $messages