Skip to content
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

❗ [2.x] Too few arguments to function Illuminate\Routing\Router::singleton() #1961

Closed
haringsrob opened this issue Nov 30, 2022 · 1 comment

Comments

@haringsrob
Copy link
Contributor

haringsrob commented Nov 30, 2022

Summary

In Laravel 9 a new Route::singleton method was added. This conflicts with our usage of the singleton macro.

Because of this we have released Twill 2.12.0 which renames Route::singleton to Route::twillSingleton.

To fix this, you have to update the routes routes/admin.php

@haringsrob haringsrob pinned this issue Nov 30, 2022
@haringsrob haringsrob changed the title [2.x] Too few arguments to function Illuminate\Routing\Router::singleton() ❗ [2.x] Too few arguments to function Illuminate\Routing\Router::singleton() Nov 30, 2022
@AndreSchwarzer
Copy link
Contributor

Context: PR from @jessarcher laravel/framework#44872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants