In the call() method, the exception wasn't being thrown if only 1 or more than 2 arguments were passed to the method. Fixed conditional statement to only accept exactly 2 arguments. In the route() method, URI::current() was evaluating as '/' in all situations. It was never evaluating as the route that you specified when executing the command. This could be part of a larger underlying bug with Symfony's HttpFoundation\Request class. It might be a band-aid fix, but replacing URI::current() with $_SERVER['REQUEST_URI'] allows the method to run the correct route. These fixes uncovered what I believe is potentially another bug. When var_dump($route->response()) is run, "NULL" and a newline is appended to the output. It's something to do with var_dump(), as echo $route->response() echo's the correct output without the extra "NULL". Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
| Name | Last commit | Last update | 
|---|---|---|
| .. | ||
| auth/drivers | Loading commit data... | |
| cache/drivers | Loading commit data... | |
| cli | Loading commit data... | |
| database | Loading commit data... | |
| documentation | Loading commit data... | |
| profiling | Loading commit data... | |
| routing | Loading commit data... | |
| session | Loading commit data... | |
| vendor/Symfony/Component | Loading commit data... | |
| asset.php | Loading commit data... | |
| auth.php | Loading commit data... | |
| autoloader.php | Loading commit data... | |
| blade.php | Loading commit data... | |
| bundle.php | Loading commit data... | |
| cache.php | Loading commit data... | |
| config.php | Loading commit data... | |
| cookie.php | Loading commit data... | |
| core.php | Loading commit data... | |
| crypter.php | Loading commit data... | |
| database.php | Loading commit data... | |
| error.php | Loading commit data... | |
| event.php | Loading commit data... | |
| file.php | Loading commit data... | |
| fluent.php | Loading commit data... | |
| form.php | Loading commit data... | |
| hash.php | Loading commit data... | |
| helpers.php | Loading commit data... | |
| html.php | Loading commit data... | |
| input.php | Loading commit data... | |
| ioc.php | Loading commit data... | |
| lang.php | Loading commit data... | |
| laravel.php | Loading commit data... | |
| log.php | Loading commit data... | |
| memcached.php | Loading commit data... | |
| messages.php | Loading commit data... | |
| paginator.php | Loading commit data... | |
| pluralizer.php | Loading commit data... | |
| redirect.php | Loading commit data... | |
| redis.php | Loading commit data... | |
| request.php | Loading commit data... | |
| response.php | Loading commit data... | |
| section.php | Loading commit data... | |
| session.php | Loading commit data... | |
| str.php | Loading commit data... | |
| uri.php | Loading commit data... | |
| url.php | Loading commit data... | |
| validator.php | Loading commit data... | |
| view.php | Loading commit data... |