src/Viserio/Component/Routing/Pipeline.php
protected function getSlice(): Closure
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                $slice = parent::getSlice();

                $callable = $slice($this->getRequestHandlerMiddleware($stack), $pipe);

                return $callable($passable);
            };
        };
    }
protected function getSlice(): Closure
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                $slice = parent::getSlice();

                $callable = $slice($this->getRequestHandlerMiddleware($stack), $pipe);

                return $callable($passable);
            };
        };
    }
{@inheritdoc}