Skip to content

Commit

Permalink
Fixed type hinting.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrubau committed Oct 28, 2018
1 parent 240c533 commit 521ca8a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/PipelineInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,13 @@ interface PipelineInterface extends StageInterface
* @return static
*/
public function pipe(callable $operation): PipelineInterface;

/**
* Process the payload.
*
* @param mixed $payload
*
* @return mixed
*/
public function process($payload);
}

0 comments on commit 521ca8a

Please sign in to comment.