laravel/laravel — comment on commit 09da91501d3445c5a668c42e2008d1b7ee55fdf0
File:  line 0
By sparksp:

Could use is_callable instead...

```php
if (is_callable(array($task, $method)))
```