]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/BoundariesPager.php
Issue 11513: Non public replies on public posts should now work
[friendica.git] / src / Content / BoundariesPager.php
index fe95040519392d098f2c2b20421bc69106d6602b..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,6 +130,9 @@ class BoundariesPager extends Pager
                return Renderer::replaceMacros($tpl, ['pager' => $data]);
        }
 
+       /**
+        * Unsupported method, must be type-compatible
+        */
        public function renderFull(int $itemCount): string
        {
                throw new \BadMethodCallException();