File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -379,13 +379,6 @@ public function originalIsEquivalent($key)
379
379
}
380
380
381
381
if ($ this ->isClassCastable ($ key )) {
382
- $ attribute = $ this ->castAttribute ($ key , $ attribute );
383
- $ original = $ this ->castAttribute ($ key , $ original );
384
-
385
- if ($ attribute === $ original ) {
386
- return true ;
387
- }
388
-
389
382
return serialize ($ attribute ) === serialize ($ original );
390
383
}
391
384
Original file line number Diff line number Diff line change @@ -1084,6 +1084,9 @@ public function testGetDirtyObjects(): void
1084
1084
1085
1085
$ user ->save ();
1086
1086
$ this ->assertEmpty ($ user ->getDirty ());
1087
+
1088
+ $ user ->options = (new Options ())->setOption1 ('Value1 ' );
1089
+ $ this ->assertNotEmpty ($ user ->getDirty ());
1087
1090
}
1088
1091
1089
1092
public function testChunkById (): void
You can’t perform that action at this time.
0 commit comments