laravel/framework — pull request #6132 by jhaoda (2014-10-17 04:03:59+00:00)
Title: Remove type hinting in toRoute

`toRoute()` used in `action()` and `route()` which can accept simple value __or__ array. Thus the
```php
link_to_route('resource.edit', 'Edit', 1);
```
will throw an exception `Argument 2 passed to Illuminate\Routing\UrlGenerator::toRoute() must be of the type array, integer given`.