Skip to content

Commit f79dd25

Browse files
committed
fix: cast namespace_id to int in createRepository
1 parent ed055d8 commit f79dd25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/VCS/Adapter/Git/GitLab.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private function getNamespaceId(string $owner): string
101101

102102
public function createRepository(string $owner, string $repositoryName, bool $private): array
103103
{
104-
$namespaceId = $this->getNamespaceId($owner);
104+
$namespaceId = (int) $this->getNamespaceId($owner);
105105

106106
$url = "/projects";
107107

0 commit comments

Comments
 (0)