Skip to content

Commit d3aa39c

Browse files
authored
Update Castable contract to accept string array (#56177)
1 parent 2cd7ba9 commit d3aa39c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Contracts/Database/Eloquent/Castable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface Castable
77
/**
88
* Get the name of the caster class to use when casting from / to this cast target.
99
*
10-
* @param array $arguments
10+
* @param string[] $arguments
1111
* @return class-string<CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes
1212
*/
1313
public static function castUsing(array $arguments);

0 commit comments

Comments
 (0)