@@ -49,7 +49,7 @@ public function test_custom_casting()
49
49
$ this ->assertEquals (['name ' => 'Taylor ' ], $ model ->array_object ->toArray ());
50
50
$ this ->assertEquals (['name ' => 'Taylor ' ], $ model ->array_object_json ->toArray ());
51
51
$ this ->assertEquals (['name ' => 'Taylor ' ], $ model ->collection ->toArray ());
52
- $ this ->assertSame ('Taylor ' , (string )$ model ->stringable );
52
+ $ this ->assertSame ('Taylor ' , (string ) $ model ->stringable );
53
53
54
54
$ model ->array_object ['age ' ] = 34 ;
55
55
$ model ->array_object ['meta ' ]['title ' ] = 'Developer ' ;
@@ -85,7 +85,7 @@ public function test_custom_casting_nullable_values()
85
85
$ model = new TestEloquentModelWithCustomCastsNullable ();
86
86
87
87
$ model ->array_object = null ;
88
- $ model ->array_object_json = null ;
88
+ $ model ->array_object_json = null ;
89
89
$ model ->collection = collect ();
90
90
$ model ->stringable = null ;
91
91
@@ -96,7 +96,7 @@ public function test_custom_casting_nullable_values()
96
96
$ this ->assertEmpty ($ model ->array_object );
97
97
$ this ->assertEmpty ($ model ->array_object_json );
98
98
$ this ->assertEmpty ($ model ->collection );
99
- $ this ->assertSame ('' , (string )$ model ->stringable );
99
+ $ this ->assertSame ('' , (string ) $ model ->stringable );
100
100
101
101
$ model ->array_object ['name ' ] = 'Taylor ' ;
102
102
$ model ->array_object ['meta ' ]['title ' ] = 'Developer ' ;
0 commit comments