From 59e4289a66746d00d31782ee52a8c3eefa474bad Mon Sep 17 00:00:00 2001 From: Luis Cordova Date: Mon, 18 Aug 2014 19:45:32 -0500 Subject: [PATCH] plug better typehint 5.4 --- Grid/Source/Source.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Grid/Source/Source.php b/Grid/Source/Source.php index e5f9ce32..c96bb734 100755 --- a/Grid/Source/Source.php +++ b/Grid/Source/Source.php @@ -50,9 +50,10 @@ public function prepareRow($row) } /** - * @param \Closure $callback + * @param callable $callback + * @return $this */ - public function manipulateQuery(\Closure $callback = null) + public function manipulateQuery(callable $callback = null) { $this->prepareQueryCallback = $callback;