<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
* @return integer verb id
* @throws \Exception
*/
- public static function getID(string $verb)
+ public static function getID(string $verb): int
{
if (empty($verb)) {
return 0;
* @param integer $id
* @return string verb
*/
- public static function getByID(int $id)
+ public static function getByID(int $id): string
{
if (empty($id)) {
return '';