mirror of
https://github.com/predis/predis.git
synced 2026-08-25 02:49:37 +00:00
Do not populate the 'arguments' property if commands received with MONITOR do not carry an argument list.
This commit is contained in:
@@ -76,7 +76,7 @@ class MonitorContext implements \Iterator {
|
||||
'timestamp' => (float) $timestamp,
|
||||
'database' => $database,
|
||||
'command' => substr($command, 1, -1),
|
||||
'arguments' => $arguments ?: '',
|
||||
'arguments' => $arguments,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user