File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ private function persistScheduled()
195195 private function scheduleForDeletion ($ object )
196196 {
197197 if ($ identifierValue = $ this ->propertyAccessor ->getValue ($ object , $ this ->config ['identifier ' ])) {
198- $ this ->scheduledForDeletion [] = ! \is_scalar ( $ identifierValue ) ? ( string ) $ identifierValue : $ identifierValue ;
198+ $ this ->scheduledForDeletion [] = ( string ) $ identifierValue ;
199199 }
200200 }
201201
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public function deleteOne($object)
105105
106106 public function deleteById ($ id , $ routing = false )
107107 {
108- $ this ->deleteManyByIdentifiers ([$ id ], $ routing );
108+ $ this ->deleteManyByIdentifiers ([( string ) $ id ], $ routing );
109109 }
110110
111111 public function insertMany (array $ objects )
You can’t perform that action at this time.
0 commit comments