Skip to content

Commit 6e725ce

Browse files
committed
Fixed unpacking of associative array in method ProfileProvider::getUniqueElements().
1 parent f551331 commit 6e725ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProfileProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __construct(
6060
*/
6161
private function getUniqueElements(callable $cb): array
6262
{
63-
return array_values(array_unique(array_merge(...array_map($cb, $this->profileContainer->toArray()))));
63+
return array_values(array_unique(array_merge(...array_values(array_map($cb, $this->profileContainer->toArray())))));
6464
}
6565

6666
/************* interface \SixtyEightPublishers\i18n\IProfileProvider *************/

0 commit comments

Comments
 (0)