From dca2a84c58682515b77089bbbc0285bbe277f17e Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 10 Jul 2014 19:24:41 +0400 Subject: [PATCH] Fixed missing callable in method signature --- framework/db/ActiveQueryInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/ActiveQueryInterface.php b/framework/db/ActiveQueryInterface.php index b6434d9b98..52d807cf8f 100644 --- a/framework/db/ActiveQueryInterface.php +++ b/framework/db/ActiveQueryInterface.php @@ -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.