Fixed missing callable in method signature

This commit is contained in:
Alexander Makarov
2014-07-10 19:24:41 +04:00
parent 593b478f2b
commit dca2a84c58

View File

@ -86,7 +86,7 @@ interface ActiveQueryInterface extends QueryInterface
* Its signature should be `function($query)`, where `$query` is the query to be customized.
* @return static the relation object itself.
*/
public function via($relationName, $callable = null);
public function via($relationName, callable $callable = null);
/**
* Finds the related records for the specified primary record.