Fixed usage of  in closure, which is not possible in PHP 5.3