Skip to content

Commit

Permalink
PHPCS Fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Raj Mohan <[email protected]>
  • Loading branch information
cod43156 committed Jan 7, 2025
1 parent 2a5f92e commit 0ce6f56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/StorageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,11 @@ public static function pluginFactory($pluginName, $options = []): Storage\Plugin
* @param non-empty-array<array-key, mixed> $array
* @return iterable<string, mixed>
*/
private static function convertArrayToIterable(array $array): iterable {
private static function convertArrayToIterable(array $array): iterable
{
/** @var mixed $value */
foreach ($array as $key => $value) {
yield (string)$key => $value;
yield (string) $key => $value;
}
}

Expand Down

0 comments on commit 0ce6f56

Please sign in to comment.