]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/BoundariesPager.php
Merge pull request #12920 from annando/issue-12701
[friendica.git] / src / Content / BoundariesPager.php
index dbfa4ca73bdc5dec6da69e4443719960f70a0c43..ddd07162858d840ac0d75a87c56a0590f112a439 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -73,12 +73,12 @@ class BoundariesPager extends Pager
                }
        }
 
-       public function getStart()
+       public function getStart(): int
        {
                throw new \BadMethodCallException();
        }
 
-       public function getPage()
+       public function getPage(): int
        {
                throw new \BadMethodCallException();
        }
@@ -130,7 +130,10 @@ class BoundariesPager extends Pager
                return Renderer::replaceMacros($tpl, ['pager' => $data]);
        }
 
-       public function renderFull(int $itemCount)
+       /**
+        * Unsupported method, must be type-compatible
+        */
+       public function renderFull(int $itemCount): string
        {
                throw new \BadMethodCallException();
        }