Skip to content

Commit bd1da46

Browse files
Flyingmanacolinmollenhour
authored andcommitted
change argument order of implode (#131)
to follow the documented order, reverse order is deprecated from php 7.4 on
1 parent ee56982 commit bd1da46

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
@@ -1449,7 +1449,7 @@ protected function decode_reply($name, $response, array &$arguments = array() )
14491449
*/
14501450
private static function _prepare_command($args)
14511451
{
1452-
return sprintf('*%d%s%s%s', count($args), CRLF, implode(array_map(array('self', '_map'), $args), CRLF), CRLF);
1452+
return sprintf('*%d%s%s%s', count($args), CRLF, implode(CRLF, array_map(array('self', '_map'), $args)), CRLF);
14531453
}
14541454

14551455
private static function _map($arg)

0 commit comments

Comments
 (0)