]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Pager.php
Merge pull request #9 from nupplaphil/dependabot/composer/guzzlehttp/guzzle-6.5.8
[friendica.git] / src / Content / Pager.php
index 4e8a760a178bceeceaa08b6bf06085ef4ddf8fd8..5109fd1de3e3d806273daf6fcdb1304337cecde4 100644 (file)
@@ -199,13 +199,13 @@ class Pager
         *
         * $html = $pager->renderFull();
         *
-        * @param integer $itemCount The total number of items including those note displayed on the page
+        * @param int $itemCount The total number of items including those note displayed on the page
         * @return string HTML string of the pager
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
        public function renderFull(int $itemCount): string
        {
-               $totalItemCount = max(0, intval($itemCount));
+               $totalItemCount = max(0, $itemCount);
 
                $data = [];