summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-10-08 04:47:54 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-10-08 04:47:54 +0300
commitb24028b212dc41d0108f10523e50868298ee3462 (patch)
treed9a952f2b8fedd35238a61d3a62e67baf3579807
parentd0fa8d6f63003a6cb2f1897158bc587ab2344ea3 (diff)
fix for php 8.2HEADmaster
-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