src/Viserio/Component/Routing/Router.php
public function group(array $attributes, $routes): void
    {
        $this->updateGroupStack($attributes);

        $router = $this;

        if ($routes instanceof Closure) {
            $routes($router);
        } else {
            require $routes;
        }

        \array_pop($this->groupStack);
    }
public function group(array $attributes, $routes): void
    {
        $this->updateGroupStack($attributes);

        $router = $this;

        if ($routes instanceof Closure) {
            $routes($router);
        } else {
            require $routes;
        }

        \array_pop($this->groupStack);
    }
{@inheritdoc}