[TASK] Doctrine: Migrate remaining parts of ContentObjectRenderer
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Database / Query / QueryBuilder.php
index 94d2bca..5720b42 100644 (file)
@@ -301,7 +301,7 @@ class QueryBuilder
      */
     public function getFirstResult(): int
     {
      */
     public function getFirstResult(): int
     {
-        return $this->concreteQueryBuilder->getFirstResult();
+        return (int)$this->concreteQueryBuilder->getFirstResult();
     }
 
     /**
     }
 
     /**