Skip to content

Commit 1cbbf5b

Browse files
committed
Fix an error with Craft 4.15+
1 parent ca548be commit 1cbbf5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/ArrayHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function recursiveImplode(array $array, string $glue = ',', bool $
4949
* @return array
5050
* @link https://book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::flatten
5151
*/
52-
public static function flatten(array $data, string $separator = '.'): array
52+
public static function flatten($data, $separator = '.'): array
5353
{
5454
$result = [];
5555
$stack = [];

0 commit comments

Comments
 (0)