Removed Closure type hints where not needed.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Fri, 15 Mar 2013 02:09:14 +0000 (22:09 -0400)
committerAlex Monk <krenair@gmail.com>
Sun, 19 May 2013 17:09:52 +0000 (17:09 +0000)
commit3b7c4f692e099491f91a8fa94f408291f620d43d
treedbe58f8979fc40ede668cf0a0662f61522b1db41
parent331bcf6ac9a5df389a0196ee71418d7620d34278
Removed Closure type hints where not needed.

Closures are not the only types of callable objects in PHP.
Specifically, any string referencing a valid function, any object with a __call(),
or any class with a __callStatic() can all be called.
Therefore, removed type hinting for Closures in places where a callable is expected.
(Unfortunately, the callable type-hint only comes in PHP 5.4.)

Change-Id: I6bff7e4a95716ef63aa7e07d3d9fef6d20eb65a6
includes/MappedIterator.php
includes/ScopedCallback.php
includes/db/Database.php