111
This commit is contained in:
@@ -52,6 +52,7 @@ class Pipeline
|
|||||||
*/
|
*/
|
||||||
public function through($pipes)
|
public function through($pipes)
|
||||||
{
|
{
|
||||||
|
if (empty($pipes)) return $this;
|
||||||
if (empty($this->pipes)) {
|
if (empty($this->pipes)) {
|
||||||
$this->pipes = is_array($pipes) ? $pipes : func_get_args();
|
$this->pipes = is_array($pipes) ? $pipes : func_get_args();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user