Merge pull request #476 from mcg-web/fix-bc

Fix BC
This commit is contained in:
Vladimir Razuvaev 2019-05-11 11:44:23 +07:00 committed by GitHub
commit 58d86abaf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);