Skip to content

Commit 3c3e0e6

Browse files
Fix @param docblock to allow string (#56121)
1 parent 6831db9 commit 3c3e0e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Collections/Arr.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ public static function string(ArrayAccess|array $array, string|int|null $key, ?s
10591059
/**
10601060
* Conditionally compile classes from an array into a CSS class list.
10611061
*
1062-
* @param array $array
1062+
* @param array|string $array
10631063
* @return string
10641064
*/
10651065
public static function toCssClasses($array)
@@ -1082,7 +1082,7 @@ public static function toCssClasses($array)
10821082
/**
10831083
* Conditionally compile styles from an array into a style list.
10841084
*
1085-
* @param array $array
1085+
* @param array|string $array
10861086
* @return string
10871087
*/
10881088
public static function toCssStyles($array)

0 commit comments

Comments
 (0)