laravel/framework — pull request #2278 by bonzai (2013-09-14 11:56:41+00:00)
Title: [Bug] Pattern filters with uppercase method names

When a pattern based filter is defined like this:
```php
Route::when('*', 'csrf', array('POST'));
```
it will never be matched, where:
```php
Route::when('*', 'csrf', array('post'));
```
will work like a charm (because `array_change_key_case` is operating on keys, instead of array values).