Skip to content

Commit

Permalink
Updates to returned types
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Mar 18, 2018
1 parent 2521450 commit a9fc59a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Pipeline/Interfaces/Pipeline.php
Expand Up @@ -22,14 +22,14 @@ interface Pipeline extends \IteratorAggregate
/**
* @param callable $func
*
* @return Pipeline
* @return $this
*/
public function map(callable $func);

/**
* @param callable $func - must yield values (return a generator)
*
* @return Pipeline
* @return $this
*/
public function filter(callable $func);

Expand Down
2 changes: 1 addition & 1 deletion src/Pipeline/Simple.php
Expand Up @@ -27,7 +27,7 @@ class Simple extends Principal
*
* @param callable $func
*
* @return self
* @return $this
*/
public function unpack(callable $func)
{
Expand Down

0 comments on commit a9fc59a

Please sign in to comment.