Skip to content

Commit

Permalink
BaseEndpoint::formatKeyValueArray(): Add data type to parameter value.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Oct 16, 2020
1 parent bb3a8b4 commit 8395685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Endpoint/BaseEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ final public function validateDataKeys(array $keys, ?string $message = null, ?in
* @param mixed[] $haystack (key => scalar)
* @return mixed[][]
*/
final public function formatKeyValueArray(array $haystack, string $key = 'key', $value = 'value'): array
final public function formatKeyValueArray(array $haystack, string $key = 'key', string $value = 'value'): array
{
$return = [];
foreach ($haystack as $_key => $_value) {
Expand Down

0 comments on commit 8395685

Please sign in to comment.