Completed
Push — master ( 14d377...ab331c )
by rugk
07:42
created
src/library/ThreemaGateway/Model/Messages.php 1 patch
Doc Comments   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@  discard block
 block discarded – undo
84 84
      * option call it this way: injectFetchOption('where', []).
85 85
      *
86 86
      * @param string $option The option name to inject
87
-     * @param mixed  $value  The value of the option to set.
88
-     * @param mixed  $append If set to true, the value is not overriden, but
87
+     * @param string  $value  The value of the option to set.
88
+     * @param boolean  $append If set to true, the value is not overriden, but
89 89
      *                       just appended as an array. (default: false)
90 90
      */
91 91
     public function injectFetchOption($option, $value, $append = false)
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * If you want to limit the types you want to query this method would be a
148 148
      * good way for you to use.
149 149
      *
150
-     * @param string $typeCode one (string) or more (array) mtype codes
150
+     * @param string $typeCodes one (string) or more (array) mtype codes
151 151
      */
152 152
     public function setTypeCode($typeCodes)
153 153
     {
@@ -197,7 +197,6 @@  discard block
 block discarded – undo
197 197
      * Limit the result to a number of datasets.
198 198
      *
199 199
      * @param int $limit   oldest date of messages
200
-     * @param int $dateMax latest date of messages (optional)
201 200
      */
202 201
     public function setResultLimit($limit)
203 202
     {
@@ -513,9 +512,9 @@  discard block
 block discarded – undo
513 512
      * submit additional conditions with the first parameter.
514 513
      * Attention: This ignores the limit/offset clause for simplicity.
515 514
      *
516
-     * @param array $additionalConditions Add additional where conditions if
515
+     * @param string[] $additionalConditions Add additional where conditions if
517 516
      *                                    neccessary.
518
-     * @param array $removeOnlyField      When set only the passed fields are
517
+     * @param string[] $removeOnlyField      When set only the passed fields are
519 518
      *                                    updated to "null" rather than deleting
520 519
      *                                    the whole record.
521 520
      */
@@ -574,7 +573,7 @@  discard block
 block discarded – undo
574 573
      *
575 574
      * @param array $baseArray  the main array, where the key/value pairs get to
576 575
      * @param array $subArray   the array, which keys should be removed
577
-     * @param array $removeKeys an array of keys, which should be removed
576
+     * @param string[] $removeKeys an array of keys, which should be removed
578 577
      *
579 578
      * @throws XenForo_Exception
580 579
      * @return false|array
@@ -605,7 +604,7 @@  discard block
 block discarded – undo
605 604
      * Groups an array by using the value of a specific index in it.
606 605
      *
607 606
      * @param array      $array       the array, which is sued as the base
608
-     * @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
609 608
      *                                for indexing
610 609
      * @param bool       $ignoreIndex Set to true to ignore multiple values in
611 610
      *                                $array. If activated only the last key of
Please login to merge, or discard this patch.