* @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 '';