php pipeline function what the wrong in this code [closed]

what the problem in this code anyone please resolve this code I try to resolve this code many times this code written in PHP Laravel framework and I cant understand what can I do I don’t know what I do wrong in this code

    public function pipeThrough($pipes)
    {
        return static::make($pipes)->reduce(
            function ($carry, $pipe) {
                return $pipe($carry);
            },
            $this,
        );
    }