Fix: Set function check_is_translatable to static

This commit is contained in:
Joshua Ramon Enslin 2022-09-13 00:17:49 +02:00
parent 3246a37c63
commit a1ef24afba
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -47,7 +47,7 @@ final class NodaTimeAutotranslater {
*
* @return boolean
*/
public function check_is_translatable(string $zeit_beginn, string $zeit_ende, string $zeit_zaehlzeit_monat):bool {
public static function check_is_translatable(string $zeit_beginn, string $zeit_ende, string $zeit_zaehlzeit_monat):bool {
if (self::check_translatability($zeit_beginn, $zeit_ende, $zeit_zaehlzeit_monat) === NodaTimeAutotranslaterStatus::NOT) {
return false;