From c803c455b4a4dc8ff3da74016a121a7cae21ae8e Mon Sep 17 00:00:00 2001 From: Jeremiah VALERIE Date: Fri, 10 May 2019 14:22:06 +0200 Subject: [PATCH] Fix bc --- src/Validator/Rules/QueryDepth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Validator/Rules/QueryDepth.php b/src/Validator/Rules/QueryDepth.php index 6dd9168..c840f74 100644 --- a/src/Validator/Rules/QueryDepth.php +++ b/src/Validator/Rules/QueryDepth.php @@ -99,7 +99,7 @@ class QueryDepth extends QuerySecurityRule /** * Set max query depth. If equal to 0 no check is done. Must be greater or equal to 0. */ - public function setMaxQueryDepth(int $maxQueryDepth) + public function setMaxQueryDepth($maxQueryDepth) { $this->checkIfGreaterOrEqualToZero('maxQueryDepth', $maxQueryDepth);