original_string: public static function formatErrorMessage(array $error_message)
      {
          $msg = $error_message['msg'] ?? "";
          $context = $error_message['context'] ?? [];
          if (class_exists("Wedeto\I18n\I18nShortcut"))
          {
              return t($msg, $context);
          }
  
          return WF::fillPlaceholders($msg, $context);
      }
code: public static function formatErrorMessage(array $error_message)
      {
          $msg = $error_message['msg'] ?? "";
          $context = $error_message['context'] ?? [];
          if (class_exists("Wedeto\I18n\I18nShortcut"))
          {
              return t($msg, $context);
          }
  
          return WF::fillPlaceholders($msg, $context);
      }
code_tokens: public static function formatErrorMessage ( array $ error_message ) { $ msg = $ error_message [ 'msg' ] ?? "" ; $ context = $ error_message [ 'context' ] ?? [ ] ; if ( class_exists ( "Wedeto\I18n\I18nShortcut" ) ) { return t ( $ msg , $ context ) ; } return WF :: fillPlaceholders ( $ msg , $ context ) ; }
docstring: Format the error message into a single string
  
  @return string The formatted error message
docstring_tokens: Format the error message into a single string