Skip to content

Commit dccc8a4

Browse files
authored
php 8.2 compatibility update (#171)
* php 8.2 compatibility update * Allow overriding of _map
1 parent 85df015 commit dccc8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ protected function decode_reply($name, $response, array &$arguments = array() )
15871587
*/
15881588
private static function _prepare_command($args)
15891589
{
1590-
return sprintf('*%d%s%s%s', count($args), CRLF, implode(CRLF, array_map(array('self', '_map'), $args)), CRLF);
1590+
return sprintf('*%d%s%s%s', count($args), CRLF, implode(CRLF, array_map([static::class, '_map'], $args)), CRLF);
15911591
}
15921592

15931593
private static function _map($arg)

0 commit comments

Comments
 (0)