debug_backtrace limit
Is there a special reason why the debug_backtrace() limit was set to 50?
https://github.com/beyondcode/laravel-query-detector/blob/c39994e813aa50c3f4168dc872546d7318bfebc5/src/QueryDetector.php#L25
I am in a situation where I am implementing recursive relationships and at a certain depth the following line throws an ErrorException (E_NOTICE) (Undefined offset: 0):
https://github.com/beyondcode/laravel-query-detector/blob/c39994e813aa50c3f4168dc872546d7318bfebc5/src/QueryDetector.php#L77
Increasing the debug_backtrace() limit makes the notice disappear (at least to a certain depth). Would it be possible to make the limit configurable/disableable or is there a better approach that I don't see right now?
Thank you.
Thank You Issue is fixed by increase the debug_backtrace limit