Skip to content

Commit

Permalink
fix(sort): calls next reducers complete() on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
pitchart committed May 17, 2020
1 parent bf3a4ff commit 64be42f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Reducer/Sort.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public function complete($result)
$result = $item;
}
}
$this->store = [];

return $result;
return $this->next->complete($result);
}
}

0 comments on commit 64be42f

Please sign in to comment.