From 866923f9be31b39b15321af8ebfa00bb1cd19f74 Mon Sep 17 00:00:00 2001 From: carlos Date: Thu, 18 Feb 2021 13:34:40 +0000 Subject: [PATCH] Endpoint namespacing fix. --- src/Generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator.php b/src/Generator.php index 694575c..2b60475 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -65,7 +65,7 @@ public function __construct(string $endpoint, array $method, Config $config, $ar $this->endpoint = $endpoint; $this->method = $method; $this->config = $config; - $this->namespace = $this->config->getPsr(); + $this->namespace = $this->config->getNamespace(); $this->path = $this->config->getPath(); $this->version = $this->config->getVersion();