* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
- public static function performContactSearch($search, $prefix = '')
+ public static function performContactSearch(string $search, string $prefix = ''): string
{
$config = DI::config();
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
- protected static function printResult(ResultList $results, Pager $pager, $header = '')
+ protected static function printResult(ResultList $results, Pager $pager, string $header = ''): string
{
if ($results->getTotal() == 0) {
notice(DI::l10n()->t('No matches'));