Skip to content

Commit

Permalink
plug better typehint 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cordoval committed Aug 19, 2014
1 parent 2826986 commit 59e4289
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Grid/Source/Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 59e4289

Please sign in to comment.