Skip to content

Conversation

@rakesh-beedasy
Copy link
Contributor

Update method hints to reflect return type of Illuminate\Routing\Router

Update method hints to reflect return type of Illuminate\Routing\Router
@hz61p1
Copy link
Contributor

hz61p1 commented Apr 7, 2017

add hints methods prefix(), middleware(), name() ...

@taylorotwell taylorotwell merged commit 31a27ea into laravel:5.4 Apr 7, 2017
@rakesh-beedasy rakesh-beedasy deleted the patch-1 branch April 7, 2017 13:06
@arcanedev-maroc
Copy link
Contributor

Hi @rafaelbeckel,

I've added something similar to my RouteRegistrar helper class: https://github.com/ARCANEDEV/Support/blob/master/src/Routing/RouteRegistrar.php#L9-L35

This may helps you to add more methods to the facade.

@GrahamCampbell GrahamCampbell changed the title Update method hints of Route Facade [5.4] Update method hints of Route Facade Apr 7, 2017
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

Successfully merging this pull request may close these issues.

4 participants