Replaced callable type hint with is_callable()

To retain compatibility with PHP 5.3 (callable type hint was added in PHP
5.4).