Completed
Push — master ( d28f07...93be01 )
by rugk
02:41
created
src/library/ThreemaGateway/Handler/Action/TfaCallback/TextMessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Helper/Emoji.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         // https://stackoverflow.com/questions/6058394/unicode-character-in-php-string
26 26
 
27 27
         // RegEx: https://regex101.com/r/yS2zX8/3
28
-        return preg_replace_callback('/(\\\\u([0-9a-fA-F]{4}))+/', function ($match) {
28
+        return preg_replace_callback('/(\\\\u([0-9a-fA-F]{4}))+/', function($match) {
29 29
             return json_decode('"' . $match[0] . '"');
30 30
         }, $string);
31 31
     }
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Handler/Action/TfaCallback/DeliveryReceipt.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Installer/TfaProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Handler/Action/Callback.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
      * In case nothing could be found, this returns "null".
359 359
      *
360 360
      * @param  string            $key
361
-     * @return string|array|null
361
+     * @return string
362 362
      */
363 363
     public function getRequest($key = null)
364 364
     {
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Handler/Action/TfaCallback/Abstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Model/Messages.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -604,7 +604,7 @@
 block discarded – undo
604 604
      * Groups an array by using the value of a specific index in it.
605 605
      *
606 606
      * @param array      $array       the array, which is sued as the base
607
-     * @param string|int $indexKey    the value of the key, which should be used
607
+     * @param string $indexKey    the value of the key, which should be used
608 608
      *                                for indexing
609 609
      * @param bool       $ignoreIndex Set to true to ignore multiple values in
610 610
      *                                $array. If activated only the last key of
Please login to merge, or discard this patch.