Skip to content

Commit

Permalink
add PHPdoc for PHPstan #9
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Jul 24, 2024
1 parent 3c18ea1 commit 8b3b634
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/IFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ interface IFunction extends IJsonSerializable
* connect to the SAP remote system, a SAP connection configuration needs to be
* present.
*
* @param string $name SAP remote function name.
* @param array|null $params SAP remote function call parameters. Default: null
* @param IConfiguration|null $config SAP connection configuration. Default: null
* @param IApi|null $api SAP remote function call API. Default: null
* @param string $name SAP remote function name.
* @param array<string, mixed>|null $params SAP remote function call parameters. Default: null
* @param IConfiguration|null $config SAP connection configuration. Default: null
* @param IApi|null $api SAP remote function call API. Default: null
* @throws IInvalidArgumentException
* @throws IIncompleteConfigException
* @throws IConnectionFailedException
Expand Down Expand Up @@ -139,7 +139,7 @@ public function setApi(IApi $api): IFunction;
/**
* Returns all previously set parameters.
*
* @return array Associative array of all parameters that have been set.
* @return array<string, mixed> Associative array of all parameters that have been set.
*/
public function getParams(): array;

Expand All @@ -152,7 +152,7 @@ public function getParams(): array;
* connection configuration for this remote function needs to be set using
* setConfiguration().
*
* @param array $params An array of SAP remote function call parameters.
* @param array<string, mixed> $params An array of SAP remote function call parameters.
* @return $this
* @throws IInvalidArgumentException
* @throws IIncompleteConfigException
Expand All @@ -175,7 +175,7 @@ public function resetParams(): IFunction;
* A SAP connection configuration needs to be present for a remote function
* call. Use setConfiguration() to set the connection configuration.
*
* @return array
* @return array<string, mixed>
* @throws IIncompleteConfigException
* @throws IConnectionFailedException
* @throws IUnknownFunctionException
Expand Down

0 comments on commit 8b3b634

Please sign in to comment.