As seen heresetAttribute in Laravel implementation returns a model.
As seen heresetAttribute in CamelCasing trait does not return anything.
So, if you happen to use CamelCasing and, for example, end up there --> crash. setAttribute of CamelCasing jumps in between and does not pass model to the caller.
Suppose easy fix is making setAttribute from CamelCasing return whatever call to parent returns, see the PR
As seen here
setAttribute
in Laravel implementation returns a model.As seen here
setAttribute
in CamelCasing trait does not return anything.So, if you happen to use CamelCasing and, for example, end up there --> crash.
setAttribute
ofCamelCasing
jumps in between and does not pass model to the caller.Suppose easy fix is making
setAttribute
fromCamelCasing
return whatever call to parent returns, see the PR