File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ var_dump(
837837 $user2->role, // 'admin'
838838 $user2->isBanned, // null
839839 array_key_exists('isBanned', $user2->toArray()), // false
840- $user2->profile instanceof stdClass, // false
840+ $user2->profile instanceof stdClass, // false
841841 $user2->hasChanged(), // false
842842);
843843
@@ -848,11 +848,11 @@ $user3 = (new User())->injectRawData([
848848]);
849849
850850var_dump(
851- $user3->role, // 'admin'
852- $user3->isBanned, // '0'
853- $user3->toArray()['isBanned'], // '0'
851+ $user3->role, // 'admin'
852+ $user3->isBanned, // '0'
853+ $user3->toArray()['isBanned'], // '0'
854854 $user3->profile instanceof stdClass, // true
855- $user3->hasChanged(), // false
855+ $user3->hasChanged(), // false
856856);
857857```
858858
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Member extends Entity
2424 'country ' => 'unknown ' ,
2525 'created_at ' => '2026-11-10 14:50:00 ' ,
2626 'updated_at ' => '2026-11-10 14:50:00 ' ,
27- 'deleted_at ' => ' 2026-11-10 14:50:00 ' ,
27+ 'deleted_at ' => null ,
2828
2929 // The property is not stored in the database
3030 'profile ' => 'unknown ' ,
Original file line number Diff line number Diff line change @@ -751,7 +751,7 @@ public static function provideUpdateOnlyChangedAndMergeAttributesOnInjectFlags()
751751 'country ' => 'unknown ' ,
752752 'created_at ' => '2026-11-10 14:50:00 ' ,
753753 'updated_at ' => '2026-11-10 14:50:00 ' ,
754- 'deleted_at ' => ' 2026-11-10 14:50:00 ' ,
754+ 'deleted_at ' => null ,
755755 'profile ' => 'profile ' ,
756756 'virtual ' => 'new property ' ,
757757 ],
@@ -806,7 +806,7 @@ public static function provideUpdateOnlyChangedAndMergeAttributesOnInjectFlags()
806806 'country ' => 'unknown ' ,
807807 'created_at ' => '2026-11-10 14:50:00 ' ,
808808 'updated_at ' => '2026-11-10 14:50:00 ' ,
809- 'deleted_at ' => ' 2026-11-10 14:50:00 ' ,
809+ 'deleted_at ' => null ,
810810 'profile ' => 'profile ' ,
811811 'virtual ' => 'new property ' ,
812812 ],
@@ -817,7 +817,7 @@ public static function provideUpdateOnlyChangedAndMergeAttributesOnInjectFlags()
817817 'country ' => 'unknown ' ,
818818 'created_at ' => null ,
819819 'updated_at ' => null ,
820- 'deleted_at ' => ' 2026-11-10 14:50:00 ' ,
820+ 'deleted_at ' => null ,
821821 'profile ' => 'profile ' ,
822822 ],
823823 ];
You can’t perform that action at this time.
0 commit comments