Skip to content

Commit b078d2a

Browse files
committed
Tidy ColumnTypeAggregate model
1 parent 793b7c1 commit b078d2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/Models/ColumnTypeAggregate.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ class ColumnTypeAggregate extends Model {
1414
protected $casts = [
1515
'castInt' => 'int',
1616
'castReal' => 'real',
17+
'castBool' => 'bool',
1718
'castDate' => 'date',
19+
'castArray' => 'array',
1820
'castFloat' => 'float',
19-
'castBool' => 'bool',
2021
'castDouble' => 'double',
22+
'castObject' => 'object',
2123
'castString' => 'string',
24+
'castDecimal' => 'decimal',
25+
'castBoolean' => 'boolean',
2226
'castInteger' => 'integer',
2327
'castDateTime' => 'datetime',
24-
'castBoolean' => 'boolean',
25-
'castArray' => 'array',
2628
'castEncrypted' => 'encrypted',
2729
'castTimestamp' => 'timestamp',
2830
'castImmutableDate' => 'immutable_date',
2931
'castAsStringable' => AsStringable::class,
3032
'castImmutableDateTime' => 'immutable_datetime',
31-
'castObject' => 'object',
32-
'castDecimal' => 'decimal',
3333
];
3434
}

0 commit comments

Comments
 (0)