Fix AsArrayObject cast to be Laravel's ArrayObject (#1675)

This commit is contained in:
Tom Westrick
2025-02-22 15:16:07 +01:00
committed by GitHub
parent 713a4758f9
commit 3d4e37798e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ class ModelsCommand extends Command
$realType = '\Illuminate\Support\Collection<array-key, mixed>';
break;
case AsArrayObject::class:
$realType = '\ArrayObject<array-key, mixed>';
$realType = '\Illuminate\Database\Eloquent\Casts\ArrayObject<array-key, mixed>';
break;
default:
// In case of an optional custom cast parameter , only evaluate