Skip to content

Commit 8b3b634

Browse files
committed
add PHPdoc for PHPstan #9
1 parent 3c18ea1 commit 8b3b634

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/IFunction.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ interface IFunction extends IJsonSerializable
5151
* connect to the SAP remote system, a SAP connection configuration needs to be
5252
* present.
5353
*
54-
* @param string $name SAP remote function name.
55-
* @param array|null $params SAP remote function call parameters. Default: null
56-
* @param IConfiguration|null $config SAP connection configuration. Default: null
57-
* @param IApi|null $api SAP remote function call API. Default: null
54+
* @param string $name SAP remote function name.
55+
* @param array<string, mixed>|null $params SAP remote function call parameters. Default: null
56+
* @param IConfiguration|null $config SAP connection configuration. Default: null
57+
* @param IApi|null $api SAP remote function call API. Default: null
5858
* @throws IInvalidArgumentException
5959
* @throws IIncompleteConfigException
6060
* @throws IConnectionFailedException
@@ -139,7 +139,7 @@ public function setApi(IApi $api): IFunction;
139139
/**
140140
* Returns all previously set parameters.
141141
*
142-
* @return array Associative array of all parameters that have been set.
142+
* @return array<string, mixed> Associative array of all parameters that have been set.
143143
*/
144144
public function getParams(): array;
145145

@@ -152,7 +152,7 @@ public function getParams(): array;
152152
* connection configuration for this remote function needs to be set using
153153
* setConfiguration().
154154
*
155-
* @param array $params An array of SAP remote function call parameters.
155+
* @param array<string, mixed> $params An array of SAP remote function call parameters.
156156
* @return $this
157157
* @throws IInvalidArgumentException
158158
* @throws IIncompleteConfigException
@@ -175,7 +175,7 @@ public function resetParams(): IFunction;
175175
* A SAP connection configuration needs to be present for a remote function
176176
* call. Use setConfiguration() to set the connection configuration.
177177
*
178-
* @return array
178+
* @return array<string, mixed>
179179
* @throws IIncompleteConfigException
180180
* @throws IConnectionFailedException
181181
* @throws IUnknownFunctionException

0 commit comments

Comments
 (0)