X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FVerb.php;h=17145adfe71458667c07e0c804a9818fed49ac9d;hb=e4ac3c7922f2769e963049e6077a0451ca7c98de;hp=714cae4209fd507669aff57ee8f1d5fef9b8ceef;hpb=322b7c856ca9ba53bd9c7da50dd5c1e3c9197d56;p=friendica.git diff --git a/src/Model/Verb.php b/src/Model/Verb.php index 714cae4209..17145adfe7 100644 --- a/src/Model/Verb.php +++ b/src/Model/Verb.php @@ -34,7 +34,7 @@ class Verb * @return integer verb id * @throws \Exception */ - public static function getID(string $verb) + public static function getID(string $verb): int { if (empty($verb)) { return 0; @@ -56,7 +56,7 @@ class Verb * @param integer $id * @return string verb */ - public static function getByID(int $id) + public static function getByID(int $id): string { if (empty($id)) { return '';