Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

[L5.5] New style for route groups not supported #151

Open
pietdevries94 opened this issue Sep 20, 2017 · 2 comments
Open

[L5.5] New style for route groups not supported #151

pietdevries94 opened this issue Sep 20, 2017 · 2 comments

Comments

@pietdevries94
Copy link

pietdevries94 commented Sep 20, 2017

As you can see, the new way gives warnings.

image

Documentation

@reganjohnson
Copy link

Interested to see this updated as well. Thanks!

@adelf
Copy link
Contributor

adelf commented Jan 13, 2018

\Illuminate\Routing\Router

    public function __call($method, $parameters)
    {
        //...
        if ($method == 'middleware') {
            return (new RouteRegistrar($this))->attribute($method, is_array($parameters[0]) ? $parameters[0] : $parameters);
        }
        //...
    }

And ide-helper can't get this. I don't know why they made this method with __call. Laravel authors like useless magic too much...
So, this is not a plugin problem.

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

No branches or pull requests

3 participants