Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function lindex($key, $index) {
* @return int The length of the list after the insert operation,
* or -1 when the value pivot was not found. Or 0 when key was not found.
*/
public function linsert($key, $after = true, $pivot, $value) {
public function linsert($key, $after = true, $pivot = '', $value = '') {
return $this->returnCommand(['LINSERT'], $key, [$key, $after ? 'AFTER' : 'BEFORE', $pivot, $value]);
}

Expand Down