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

url()->previous() is not highlited in IDE #25860

Closed
vladyslavstartsev opened this issue Oct 1, 2018 · 1 comment
Closed

url()->previous() is not highlited in IDE #25860

vladyslavstartsev opened this issue Oct 1, 2018 · 1 comment

Comments

@vladyslavstartsev
Copy link
Contributor

  • Laravel Version: 5.6.38
  • PHP Version: 7.2.9

Description:

The url() which returns \Illuminate\Contracts\Routing\UrlGenerator is not highlited in IDE.
This method usage you can see here
https://github.com/laravel/framework/blob/5.6/src/Illuminate/Foundation/Exceptions/Handler.php#L248-L253

Steps To Reproduce:

call url()->previous() somewhere in code when using PHPStorm

How can it be solved
add method previous to Illuminate\Contracts\Routing\UrlGenerator interface

@X-Coder264
Copy link
Contributor

Adding a new method to an interface is a breaking change and so it cannot go into 5.6, but the change was made already and it will be in 5.8 (#25616).

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