Skip to content

Commit eadb9b8

Browse files
Project id and org id nullable
1 parent 38f8f44 commit eadb9b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Model/Config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ public function getApiKey(): string
4444
);
4545
}
4646

47-
public function getOrganizationID(): string
47+
public function getOrganizationID(): ?string
4848
{
49-
return (string)$this->scopeConfig->getValue(
49+
return $this->scopeConfig->getValue(
5050
self::XML_PATH_OPENAI_ORGANIZATION_ID
5151
);
5252
}
5353

54-
public function getProjectId(): string
54+
public function getProjectId(): ?string
5555
{
56-
return (string)$this->scopeConfig->getValue(
56+
return $this->scopeConfig->getValue(
5757
self::XML_PATH_OPENAI_PROJECT_ID
5858
);
5959
}

0 commit comments

Comments
 (0)