You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
With in Eloquent/Builder fails when passing callback as null instead of calling it with only relations. #61762
When calling $Builder->with($relations, null) explicitly func_get_args() incorrectly interprets null as 0 if $relations is a string. We had this because we extended the builder and had a with($relations, $callback = null) signature ourselves which called parent::with($relations, $callback), thus passing the null generated from our own default, instead of letting the parent generate its null default.
Steps To Reproduce
Call any builder::with() method with a string in relations and null passed explicitly to callback instead of defaulting to null.
Activity