@@ -61,7 +61,6 @@ |
||
| 61 | 61 | * @param Threema\MsgApi\Helpers\ReceiveMessageResult $receiveResult |
| 62 | 62 | * @param Threema\MsgApi\Messages\ThreemaMessage $threemaMsg |
| 63 | 63 | * @param array|string $output [$logType, $debugLog, $publicLog] |
| 64 | - * @param bool $saveMessage |
|
| 65 | 64 | * @param bool $debugMode |
| 66 | 65 | */ |
| 67 | 66 | public static function testCallbackPostSave(ThreemaGateway_Handler_Action_Callback $handler, |
@@ -261,7 +261,7 @@ |
||
| 261 | 261 | * Gets SQL condition to update the existing record. |
| 262 | 262 | * |
| 263 | 263 | * @see XenForo_DataWriter::_getUpdateCondition() |
| 264 | - * @return bool |
|
| 264 | + * @return string |
|
| 265 | 265 | */ |
| 266 | 266 | protected function _getUpdateCondition($tableName) |
| 267 | 267 | { |
@@ -296,6 +296,7 @@ discard block |
||
| 296 | 296 | * |
| 297 | 297 | * @param array|string $log string or array |
| 298 | 298 | * @param string $stringToAdd |
| 299 | + * @param string $stringToAddDetail |
|
| 299 | 300 | */ |
| 300 | 301 | public function addLog(&$log, $stringToAdd, $stringToAddDetail = null) |
| 301 | 302 | { |
@@ -358,7 +359,7 @@ discard block |
||
| 358 | 359 | * In case nothing could be found, this returns "null". |
| 359 | 360 | * |
| 360 | 361 | * @param string $key |
| 361 | - * @return string|array|null |
|
| 362 | + * @return string |
|
| 362 | 363 | */ |
| 363 | 364 | public function getRequest($key = null) |
| 364 | 365 | { |
@@ -263,7 +263,6 @@ discard block |
||
| 263 | 263 | * @param mixed $filterData any data the filter uses |
| 264 | 264 | * @param bool $failOnError whether the filter should fail on errors (true) |
| 265 | 265 | * or silently ignore them (false) |
| 266 | - * @param bool $saveMessage |
|
| 267 | 266 | */ |
| 268 | 267 | public function addFilter($filterType, $filterData, $failOnError = true) |
| 269 | 268 | { |
@@ -332,7 +331,6 @@ discard block |
||
| 332 | 331 | * |
| 333 | 332 | * @param array $confirmRequest the confirm request |
| 334 | 333 | * @param array $providerData old data read |
| 335 | - * @param array $setData new data to set |
|
| 336 | 334 | * @param array $processOptions custom options (optional) |
| 337 | 335 | * |
| 338 | 336 | * @throws XenForo_Exception |
@@ -351,7 +349,7 @@ discard block |
||
| 351 | 349 | * essential! |
| 352 | 350 | * |
| 353 | 351 | * @throws XenForo_Exception |
| 354 | - * @return bool |
|
| 352 | + * @return false|null |
|
| 355 | 353 | */ |
| 356 | 354 | protected function preProcessPending() |
| 357 | 355 | { |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | * Returns "false" if the process should be canceled. Otherwise "true". |
| 90 | 90 | * |
| 91 | 91 | * @throws XenForo_Exception |
| 92 | - * @return bool |
|
| 92 | + * @return false|null |
|
| 93 | 93 | */ |
| 94 | 94 | protected function preProcessPending() |
| 95 | 95 | { |
@@ -101,6 +101,7 @@ discard block |
||
| 101 | 101 | * @param ThreemaGateway_Handler_Settings If you already used the settings |
| 102 | 102 | * you can pass them here, so the |
| 103 | 103 | * class can reuse them. |
| 104 | + * @param ThreemaGateway_Handler_Settings $settings |
|
| 104 | 105 | * @throws XenForo_Exception |
| 105 | 106 | * @return void |
| 106 | 107 | */ |
@@ -126,7 +127,7 @@ discard block |
||
| 126 | 127 | /** |
| 127 | 128 | * Returns the feature level of the SDK. |
| 128 | 129 | * |
| 129 | - * @return string |
|
| 130 | + * @return integer |
|
| 130 | 131 | */ |
| 131 | 132 | public function getFeatureLevel() |
| 132 | 133 | { |
@@ -250,7 +250,7 @@ |
||
| 250 | 250 | * Checks whether the string actually is a private key. |
| 251 | 251 | * |
| 252 | 252 | * @param string $privateKey The string to check. |
| 253 | - * @return bool |
|
| 253 | + * @return integer |
|
| 254 | 254 | */ |
| 255 | 255 | protected function isPrivateKey($privateKey) |
| 256 | 256 | { |
@@ -60,8 +60,7 @@ discard block |
||
| 60 | 60 | * |
| 61 | 61 | * XenForo template helper: threemaisvalidpubkey. |
| 62 | 62 | * |
| 63 | - * @param string $threemaid Threema ID |
|
| 64 | - * @return string |
|
| 63 | + * @return integer |
|
| 65 | 64 | */ |
| 66 | 65 | public static function checkPublic($pubKey) |
| 67 | 66 | { |
@@ -76,7 +75,7 @@ discard block |
||
| 76 | 75 | * @param string the public key |
| 77 | 76 | * @param string optional suffix (usually 'private:' or 'public:') (default: '') |
| 78 | 77 | * |
| 79 | - * @return bool whether the key is valid (true) or not (false) |
|
| 78 | + * @return integer whether the key is valid (true) or not (false) |
|
| 80 | 79 | */ |
| 81 | 80 | public static function check($publicKey, $suffix = '') |
| 82 | 81 | { |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * Generates some random bytes. |
| 87 | 87 | * |
| 88 | 88 | * @link https://paragonie.com/book/pecl-libsodium/read/02-random-data.md |
| 89 | - * @param int $bytes Number of bytes to return |
|
| 89 | + * @param integer $number |
|
| 90 | 90 | * @return string |
| 91 | 91 | */ |
| 92 | 92 | public static function getRandomBytes($number) |