@@ -55,7 +55,7 @@ |
||
| 55 | 55 | $db->query('INSERT INTO `xf_tfa_provider` |
| 56 | 56 | (`provider_id`, `provider_class`, `priority`, `active`) |
| 57 | 57 | VALUES (?, ?, ?, ?)', |
| 58 | - [$this->tfaId, $this->tfaClass, $this->tfaPriority, (int) $enabled]); |
|
| 58 | + [$this->tfaId, $this->tfaClass, $this->tfaPriority, (int) $enabled]); |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
@@ -10,15 +10,15 @@ |
||
| 10 | 10 | |
| 11 | 11 | class ThreemaGateway_Helper_Emoji |
| 12 | 12 | { |
| 13 | - /** |
|
| 14 | - * Replaces unicode escape sequence with the correct UNICODE character. |
|
| 15 | - * |
|
| 16 | - * XenForo template helper: emojiparseunicode. |
|
| 17 | - * You need to pass it as surrogate pairs, e.g. \ud83d\udd11. |
|
| 18 | - * |
|
| 19 | - * @param string $string |
|
| 20 | - * @return string |
|
| 21 | - */ |
|
| 13 | + /** |
|
| 14 | + * Replaces unicode escape sequence with the correct UNICODE character. |
|
| 15 | + * |
|
| 16 | + * XenForo template helper: emojiparseunicode. |
|
| 17 | + * You need to pass it as surrogate pairs, e.g. \ud83d\udd11. |
|
| 18 | + * |
|
| 19 | + * @param string $string |
|
| 20 | + * @return string |
|
| 21 | + */ |
|
| 22 | 22 | public static function parseUnicode($string) |
| 23 | 23 | { |
| 24 | 24 | // uses json_decode as a hackish way to encode unicode strings |