Closed gms8994 closed 1 year ago
An empty collection, when calling ->toArray() will return [], which makes the need to load the results of the relationship twice unnecessary.
->toArray()
[]
An empty collection, when calling
->toArray()
will return[]
, which makes the need to load the results of the relationship twice unnecessary.