Skip to content

Collection::dot() missing in Laravel 9.x #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jbboehr opened this issue May 12, 2025 · 3 comments · May be fixed by #6 or #7
Open

Collection::dot() missing in Laravel 9.x #5

jbboehr opened this issue May 12, 2025 · 3 comments · May be fixed by #6 or #7

Comments

@jbboehr
Copy link

jbboehr commented May 12, 2025

Not a huge deal, but apparently Collection::dot() used here was added in Laravel 10.2.0 (link), but this package lists compatibility with Laravel 9.

I managed to shim it in with macro and otherwise everything seems to work.

@nerg4l
Copy link
Member

nerg4l commented May 19, 2025

@jbboehr Thanks for reporting the issue. I will look into this.

@nerg4l nerg4l linked a pull request May 19, 2025 that will close this issue
@nerg4l
Copy link
Member

nerg4l commented May 19, 2025

@jbboehr, could you check if the fix proposed in #6 works for you?

@jbboehr
Copy link
Author

jbboehr commented May 19, 2025

Yes, it works, although might be a bit safer but less elegant to just use Arr::dot directly, it's probably fine.

jbboehr added a commit to jbboehr/lost-in-translation that referenced this issue May 20, 2025
jbboehr added a commit to jbboehr/lost-in-translation that referenced this issue May 20, 2025
@jbboehr jbboehr linked a pull request May 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants