Arguments of the constructor in doc blocks is not same as actual implementation.
`new  MapReduce($data, compact('mapper', 'reducer'));`
to
`new  MapReduce($data, $mapper, $reducer);`