File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
tests/Console/ModelsCommand
AdvancedCasts/__snapshots__
SimpleCasts/__snapshots__ Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -410,16 +410,14 @@ public function castPropertiesType($model)
410410 $ params = [];
411411
412412 switch ($ type ) {
413- case 'encrypted ' :
414- $ realType = 'mixed ' ;
415- break ;
416413 case 'boolean ' :
417414 case 'bool ' :
418415 $ realType = 'bool ' ;
419416 break ;
420417 case 'decimal ' :
421418 $ realType = 'numeric ' ;
422419 break ;
420+ case 'encrypted ' :
423421 case 'string ' :
424422 case 'hashed ' :
425423 $ realType = 'string ' ;
Original file line number Diff line number Diff line change 2222 * @property \Carbon\CarbonImmutable $cast_to_immutable_custom_datetime
2323 * @property \Carbon\CarbonImmutable $cast_to_immutable_datetime
2424 * @property int $cast_to_timestamp
25- * @property mixed $cast_to_encrypted
25+ * @property string $cast_to_encrypted
2626 * @property array<array-key, mixed> $cast_to_encrypted_array
2727 * @property \Illuminate\Support\Collection<array-key, mixed> $cast_to_encrypted_collection
2828 * @property array<array-key, mixed> $cast_to_encrypted_json
Original file line number Diff line number Diff line change 3333 * @property \Carbon\CarbonImmutable $cast_to_immutable_datetime
3434 * @property \Carbon\CarbonImmutable $cast_to_immutable_datetime_serialization
3535 * @property int $cast_to_timestamp
36- * @property mixed $cast_to_encrypted
36+ * @property string $cast_to_encrypted
3737 * @property array<array-key, mixed> $cast_to_encrypted_array
3838 * @property \Illuminate\Support\Collection<array-key, mixed> $cast_to_encrypted_collection
3939 * @property array<array-key, mixed> $cast_to_encrypted_json
You can’t perform that action at this time.
0 commit comments