File tree 3 files changed +3
-5
lines changed
tests/Console/ModelsCommand
AdvancedCasts/__snapshots__
SimpleCasts/__snapshots__
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)
410
410
$ params = [];
411
411
412
412
switch ($ type ) {
413
- case 'encrypted ' :
414
- $ realType = 'mixed ' ;
415
- break ;
416
413
case 'boolean ' :
417
414
case 'bool ' :
418
415
$ realType = 'bool ' ;
419
416
break ;
420
417
case 'decimal ' :
421
418
$ realType = 'numeric ' ;
422
419
break ;
420
+ case 'encrypted ' :
423
421
case 'string ' :
424
422
case 'hashed ' :
425
423
$ realType = 'string ' ;
Original file line number Diff line number Diff line change 21
21
* @property \Carbon\CarbonImmutable $cast_to_immutable_custom_datetime
22
22
* @property \Carbon\CarbonImmutable $cast_to_immutable_datetime
23
23
* @property int $cast_to_timestamp
24
- * @property mixed $cast_to_encrypted
24
+ * @property string $cast_to_encrypted
25
25
* @property array<array-key, mixed> $cast_to_encrypted_array
26
26
* @property \Illuminate\Support\Collection<array-key, mixed> $cast_to_encrypted_collection
27
27
* @property array<array-key, mixed> $cast_to_encrypted_json
Original file line number Diff line number Diff line change 33
33
* @property \Carbon\CarbonImmutable $cast_to_immutable_datetime
34
34
* @property \Carbon\CarbonImmutable $cast_to_immutable_datetime_serialization
35
35
* @property int $cast_to_timestamp
36
- * @property mixed $cast_to_encrypted
36
+ * @property string $cast_to_encrypted
37
37
* @property array<array-key, mixed> $cast_to_encrypted_array
38
38
* @property \Illuminate\Support\Collection<array-key, mixed> $cast_to_encrypted_collection
39
39
* @property array<array-key, mixed> $cast_to_encrypted_json
You can’t perform that action at this time.
0 commit comments