@@ -50,7 +50,6 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * Verifies whether the dir of the file is valid (can be created) and is writable. |
| 52 | 52 | * |
| 53 | - * @param string $filepath Input |
|
| 54 | 53 | * @param XenForo_DataWriter $dataWriter |
| 55 | 54 | * @param string $fieldName Name of field/option |
| 56 | 55 | * |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | * requirements are not fullfilled. |
| 93 | 93 | * |
| 94 | 94 | * @param array $status Will be filled with required statuses (sic) |
| 95 | - * @param array $extraError Optional other errors may be added here |
|
| 95 | + * @param string $extraError Optional other errors may be added here |
|
| 96 | 96 | * @return bool |
| 97 | 97 | */ |
| 98 | 98 | protected static function checkTecRequire(&$status, &$extraError) |
@@ -53,7 +53,6 @@ |
||
| 53 | 53 | /** |
| 54 | 54 | * Verifies the Threema Gateway Secret format. |
| 55 | 55 | * |
| 56 | - * @param string $threemaid Input threema ID |
|
| 57 | 56 | * @param XenForo_DataWriter $dataWriter |
| 58 | 57 | * @param string $fieldName Name of field/option |
| 59 | 58 | * |
@@ -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 | /** |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | public static function getOldestPossibleReplayAttackDate() |
| 58 | 58 | { |
| 59 | 59 | /** @var XenForo_Options $options */ |
| 60 | - $options = XenForo_Application::getOptions(); |
|
| 60 | + $options = XenForo_Application::getOptions(); |
|
| 61 | 61 | /** @var int $rejectOlDefault the default maximum age of a message according*/ |
| 62 | 62 | $rejectOlDefault = strtotime('-14 days', XenForo_Application::$time); |
| 63 | 63 | /* @var int $rejectOld the maximum age of a message according to the options */ |