<?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
*
}
}
- public function getStart()
+ public function getStart(): int
{
throw new \BadMethodCallException();
}
- public function getPage()
+ public function getPage(): int
{
throw new \BadMethodCallException();
}
return Renderer::replaceMacros($tpl, ['pager' => $data]);
}
- public function renderFull($itemCount)
+ /**
+ * Unsupported method, must be type-compatible
+ */
+ public function renderFull(int $itemCount): string
{
throw new \BadMethodCallException();
}