File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,30 +37,30 @@ public function IsAsync(): bool
37
37
);
38
38
}
39
39
40
- public function getApiKey (): mixed
40
+ public function getApiKey (): string
41
41
{
42
- return $ this ->scopeConfig ->getValue (
42
+ return ( string ) $ this ->scopeConfig ->getValue (
43
43
self ::XML_PATH_OPENAI_API_KEY
44
44
);
45
45
}
46
46
47
- public function getOrganizationID (): mixed
47
+ public function getOrganizationID (): ? string
48
48
{
49
49
return $ this ->scopeConfig ->getValue (
50
50
self ::XML_PATH_OPENAI_ORGANIZATION_ID
51
51
);
52
52
}
53
53
54
- public function getProjectId (): mixed
54
+ public function getProjectId (): ? string
55
55
{
56
56
return $ this ->scopeConfig ->getValue (
57
57
self ::XML_PATH_OPENAI_PROJECT_ID
58
58
);
59
59
}
60
60
61
- public function getApiModel (): mixed
61
+ public function getApiModel (): string
62
62
{
63
- return $ this ->scopeConfig ->getValue (
63
+ return ( string ) $ this ->scopeConfig ->getValue (
64
64
self ::XML_PATH_OPENAI_API_MODEL
65
65
);
66
66
}
You can’t perform that action at this time.
0 commit comments