diff --git a/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php b/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php
index 8b2b5538fd856b13d819f34fe0e7a3b6cf341c75..ffcce83f1f4b69f055f17fa466c7c348e84ac2f5 100644
--- a/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php
+++ b/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php
@@ -916,11 +916,11 @@ class QueryBuilder
      * Quotes a given input parameter.
      *
      * @param mixed $input The parameter to be quoted.
-     * @param string|null $type The type of the parameter.
+     * @param int|null $type The type of the parameter.
      *
      * @return mixed Often string, but also int or float or similar depending on $input and platform
      */
-    public function quote($input, string $type = null)
+    public function quote($input, int $type = null)
     {
         return $this->getConnection()->quote($input, $type);
     }