From 133e57b77db15a0a12205251a42c4d6c0177fa02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zigmas=20Satkevi=C4=8Dius?= <zsatkevicius@nfq.lt>
Date: Fri, 12 Dec 2014 14:18:59 +0200
Subject: [PATCH] Added missing type hint in FunctionScoreQuery.

Closes #74.
---
 Query/FunctionScoreQuery.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Query/FunctionScoreQuery.php b/Query/FunctionScoreQuery.php
index 4bdf1d4..7584eb8 100644
--- a/Query/FunctionScoreQuery.php
+++ b/Query/FunctionScoreQuery.php
@@ -41,7 +41,7 @@ class FunctionScoreQuery implements BuilderInterface
      * @param array            $functions
      * @param array            $parameters
      */
-    public function __construct(BuilderInterface $filterOrQuery, $functions, array $parameters = [])
+    public function __construct(BuilderInterface $filterOrQuery, array $functions, array $parameters = [])
     {
         $this->dslType = array_slice(explode('\\', get_class($filterOrQuery)), -2, 1)[0];
         $this->filterOrQuery = $filterOrQuery;
-- 
GitLab