From b24028b212dc41d0108f10523e50868298ee3462 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 8 Oct 2023 04:47:54 +0300 Subject: [PATCH] fix for php 8.2 --- composer.json | 2 +- src/Client.php | 2 +- 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