This commit is contained in:
Jeremiah VALERIE 2019-05-10 14:22:06 +02:00
parent 9fc4d11425
commit c803c455b4
No known key found for this signature in database
GPG Key ID: 668676FD50ADF244

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. * 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); $this->checkIfGreaterOrEqualToZero('maxQueryDepth', $maxQueryDepth);