@@ -476,7 +476,7 @@ public function testCastFloatWithInvalidRoundingMode(): void
476476
477477 $ entity = new class () extends Entity {
478478 protected $ casts = [
479- 'temp ' => 'float[1,invalidMode] '
479+ 'temp ' => 'float[1,invalidMode] ' ,
480480 ];
481481 };
482482
@@ -1803,22 +1803,22 @@ private function getCastEntity($data = null): object
18031803
18041804 // 'bar' is db column, 'foo' is internal representation
18051805 protected $ casts = [
1806- 'first ' => 'integer ' ,
1807- 'second ' => 'float ' ,
1808- 'third ' => 'double ' ,
1809- 'fourth ' => 'string ' ,
1810- 'fifth ' => 'boolean ' ,
1811- 'sixth ' => 'object ' ,
1812- 'seventh ' => 'array ' ,
1813- 'eighth ' => 'datetime ' ,
1814- 'ninth ' => 'timestamp ' ,
1815- 'tenth ' => 'json ' ,
1816- 'eleventh ' => 'json-array ' ,
1817- 'twelfth ' => 'csv ' ,
1818- 'thirteenth ' => 'uri ' ,
1819- 'fourteenth ' => 'float[2] ' ,
1820- 'fifteenth ' => 'float[2,down] ' ,
1821- 'sixteenth ' => 'float[3,even] ' ,
1806+ 'first ' => 'integer ' ,
1807+ 'second ' => 'float ' ,
1808+ 'third ' => 'double ' ,
1809+ 'fourth ' => 'string ' ,
1810+ 'fifth ' => 'boolean ' ,
1811+ 'sixth ' => 'object ' ,
1812+ 'seventh ' => 'array ' ,
1813+ 'eighth ' => 'datetime ' ,
1814+ 'ninth ' => 'timestamp ' ,
1815+ 'tenth ' => 'json ' ,
1816+ 'eleventh ' => 'json-array ' ,
1817+ 'twelfth ' => 'csv ' ,
1818+ 'thirteenth ' => 'uri ' ,
1819+ 'fourteenth ' => 'float[2] ' ,
1820+ 'fifteenth ' => 'float[2,down] ' ,
1821+ 'sixteenth ' => 'float[3,even] ' ,
18221822 'seventeenth ' => 'float[1,odd] ' ,
18231823 ];
18241824
0 commit comments