Skip to content
Permalink
Browse files

Rename more $value variables to see if travis is more happy.

  • Loading branch information...
markstory committed Sep 28, 2017
1 parent 613698b commit 51660139e781299e9144f69bb10d9ca5d5d1bdd7
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/Collection/Iterator/MapReduce.php
@@ -139,26 +139,26 @@ public function getIterator()
* Appends a new record to the bucket labelled with $key, usually as a result
* of mapping a single record from the original data.
*
* @param mixed $value The record itself to store in the bucket
* @param mixed $val The record itself to store in the bucket
* @param string $bucket the name of the bucket where to put the record
* @return void
*/
public function emitIntermediate($value, $bucket)
public function emitIntermediate($val, $bucket)
{
$this->_intermediate[$bucket][] = $value;
$this->_intermediate[$bucket][] = $val;
}
/**
* Appends a new record to the final list of results and optionally assign a key
* for this record.
*
* @param mixed $value The value to be appended to the final list of results
* @param mixed $val The value to be appended to the final list of results
* @param string|null $key and optional key to assign to the value
* @return void
*/
public function emit($value, $key = null)
public function emit($val, $key = null)
{
$this->_result[$key === null ? $this->_counter : $key] = $value;
$this->_result[$key === null ? $this->_counter : $key] = $val;
$this->_counter++;
}

0 comments on commit 5166013

Please sign in to comment.
You can’t perform that action at this time.