Completed
Push — master ( ede74e...9ffa6e )
by Roberto
17s queued 11s
created
src/Traits/Connection.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      * @param  string       $host           can be a host, or the path to a unix domain socket. Starting from
11 11
      *                                       version 5.0.0 it is possible to specify
12 12
      * @param  int|int      $port           optional defaults to 6379
13
-     * @param  float|int    $timeout        value in seconds (optional, default is 0 meaning unlimited)
13
+     * @param  double    $timeout        value in seconds (optional, default is 0 meaning unlimited)
14 14
      * @param  null         $reserved       should be NULL if retry_interval is specified
15 15
      * @param  int|int      $retry_interval value in milliseconds (optional)
16 16
      * @param  float|int    $read_timeout   value in seconds (optional, default is 0 meaning unlimited)
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param  string       $host           can be a host, or the path to a unix domain socket. Starting from
37 37
      *                                       version 5.0.0 it is possible to specify
38 38
      * @param  int|int      $port           optional defaults to 6379
39
-     * @param  float|int    $timeout        value in seconds (optional, default is 0 meaning unlimited)
39
+     * @param  double    $timeout        value in seconds (optional, default is 0 meaning unlimited)
40 40
      * @param  null         $reserved       should be NULL if retry_interval is specified
41 41
      * @param  int|int      $retry_interval value in milliseconds (optional)
42 42
      * @param  float|int    $read_timeout   value in seconds (optional, default is 0 meaning unlimited)
@@ -75,10 +75,10 @@  discard block
 block discarded – undo
75 75
      * @param  string       $host           can be a host, or the path to a unix domain socket. Starting from version
76 76
      *                                      5.0.0 it is possible to specify
77 77
      * @param  int|int      $port           optional defaults to 6379
78
-     * @param  float|int    $timeout        value in seconds (optional, default is 0 meaning unlimited)
78
+     * @param  double    $timeout        value in seconds (optional, default is 0 meaning unlimited)
79 79
      * @param  string       $persistent_id  identity for the requested persistent connection
80 80
      * @param  int|int      $retry_interval value in milliseconds (optional)
81
-     * @param  float|int    $read_timeout   value in seconds (optional, default is 0 meaning unlimited)
81
+     * @param  integer    $read_timeout   value in seconds (optional, default is 0 meaning unlimited)
82 82
      *
83 83
      * @return bool     true on success, false on error
84 84
      *
@@ -114,10 +114,10 @@  discard block
 block discarded – undo
114 114
      * @param  string       $host           can be a host, or the path to a unix domain socket. Starting from version
115 115
      *                                      5.0.0 it is possible to specify
116 116
      * @param  int|int      $port           optional defaults to 6379
117
-     * @param  float|int    $timeout        value in seconds (optional, default is 0 meaning unlimited)
117
+     * @param  double    $timeout        value in seconds (optional, default is 0 meaning unlimited)
118 118
      * @param  string       $persistent_id  identity for the requested persistent connection
119 119
      * @param  int|int      $retry_interval value in milliseconds (optional)
120
-     * @param  float|int    $read_timeout   value in seconds (optional, default is 0 meaning unlimited)
120
+     * @param  integer    $read_timeout   value in seconds (optional, default is 0 meaning unlimited)
121 121
      *
122 122
      * @return bool     true on success, false on error
123 123
      *
Please login to merge, or discard this patch.
src/Traits/Bits.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @param  string $operation    NOT, AND, OR, XOR
30 30
      * @param  string $returnKey    Return Key
31
-     * @param  splat $keys          List of keys for input
31
+     * @param  splat[] $keys          List of keys for input
32 32
      *
33 33
      * @return int              The size of the string stored in the destination key.
34 34
      */
Please login to merge, or discard this patch.
src/Traits/Geocoding.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @param  string $key
28 28
      * @param  string $member
29
-     * @param  splat  $members
29
+     * @param  splat[]  $members
30 30
      *
31 31
      * @return array            One or more Redis Geohash encoded strings.
32 32
      */
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @param  string $key
42 42
      * @param  string $member
43
-     * @param  splat $members
43
+     * @param  splat[] $members
44 44
      *
45 45
      * @return array            One or more longitude/latitude positions
46 46
      */
Please login to merge, or discard this patch.
src/Traits/Hashes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      * See: https://redis.io/commands/hdel.
11 11
      *
12 12
      * @param  string $key
13
-     * @param  splat $fields
13
+     * @param  splat[] $fields
14 14
      *
15 15
      * @return int          LONG the number of deleted keys, 0 if the key doesn't
16 16
      *                      exist, FALSE if the key isn't a hash.
Please login to merge, or discard this patch.
src/Traits/Sets.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      * See: https://redis.io/commands/sadd.
11 11
      *
12 12
      * @param  string $key
13
-     * @param  splat $members
13
+     * @param  splat[] $members
14 14
      *
15 15
      * @return int              The number of elements added to the set.
16 16
      */
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Performs the difference between N sets and returns it.
58 58
      *
59
-     * @param  splat $keys
59
+     * @param  splat[] $keys
60 60
      *
61 61
      * @return array
62 62
      */
@@ -69,10 +69,10 @@  discard block
 block discarded – undo
69 69
      * Performs the same action as sDiff, but stores the result in the first key.
70 70
      *
71 71
      * @param  string $destinationKey The key to store the diff into.
72
-     * @param  splat $keys            key1, key2, ... , keyN: Any number of keys
72
+     * @param  splat[] $keys            key1, key2, ... , keyN: Any number of keys
73 73
      *                                corresponding to sets in redis.
74 74
      *
75
-     * @return The cardinality of the resulting set, or FALSE in case of a
75
+     * @return integer cardinality of the resulting set, or FALSE in case of a
76 76
      * missing key.
77 77
      */
78 78
     public function sDiffStore(string $destinationKey, ...$keys): int
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      * of this set. If one of the keys is missing, FALSE is returned.
88 88
      * See: https://redis.io/commands/sinter.
89 89
      *
90
-     * @param  splat $keys  key1, key2, keyN: keys identifying the different
90
+     * @param  splat[] $keys  key1, key2, keyN: keys identifying the different
91 91
      *                      sets on which we will apply the intersection.
92 92
      *
93 93
      * @return array        Contain the result of the intersection between
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * See: https://redis.io/commands/sinterstore.
106 106
      *
107 107
      * @param  string $destinationKey   The key to store the diff into.
108
-     * @param  plat $keys               key1, key2... keyN. key1..keyN are
108
+     * @param  plat[] $keys               key1, key2... keyN. key1..keyN are
109 109
      *                                  intersected as in sInter.
110 110
      *
111 111
      * @return int                      The cardinality of the resulting set,
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * See: https://redis.io/commands/srem.
248 248
      *
249 249
      * @param  string $key
250
-     * @param  splat $members
250
+     * @param  splat[] $members
251 251
      *
252 252
      * @return int              The number of elements removed from the set.
253 253
      */
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
      * See: https://redis.io/commands/srem.
264 264
      *
265 265
      * @param  string $key
266
-     * @param  splat $members
266
+     * @param  splat[] $members
267 267
      *
268 268
      * @return int              The number of elements removed from the set.
269 269
      */
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
      * Performs the union between N sets and returns it.
277 277
      * See: https://redis.io/commands/sunion.
278 278
      *
279
-     * @param  splat $keys
279
+     * @param  splat[] $keys
280 280
      *
281 281
      * @return array        key1, key2, ... , keyN: Any number of keys
282 282
      *                      corresponding to sets in redis.
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      * See: https://redis.io/commands/sunionstore.
293 293
      *
294 294
      * @param  string $destinationKey
295
-     * @param  splat $keys
295
+     * @param  splat[] $keys
296 296
      *
297 297
      * @return int                      The cardinality of the resulting set,
298 298
      *                                  or FALSE in case of a missing key.
Please login to merge, or discard this patch.
src/Traits/SortedSets.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
      * See: https://redis.io/commands/zrem.
431 431
      *
432 432
      * @param  string $key      The ZSET you wish to run against
433
-     * @param  splay $members   Member(s) to be removed from the ZSET
433
+     * @param  splay[] $members   Member(s) to be removed from the ZSET
434 434
      *
435 435
      * @return int              The number of members deleted.
436 436
      */
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
      * See: https://redis.io/commands/zrem.
449 449
      *
450 450
      * @param  string $key      The ZSET you wish to run against
451
-     * @param  splay $members   Member(s) to be removed from the ZSET
451
+     * @param  splay[] $members   Member(s) to be removed from the ZSET
452 452
      *
453 453
      * @return int              The number of members deleted.
454 454
      */
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
      * See: https://redis.io/commands/zrem.
467 467
      *
468 468
      * @param  string $key      The ZSET you wish to run against
469
-     * @param  splay $members   Member(s) to be removed from the ZSET
469
+     * @param  splay[] $members   Member(s) to be removed from the ZSET
470 470
      *
471 471
      * @return int              The number of members deleted.
472 472
      */
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
      * @param  mixed|float|string $start    double or "+inf" or "-inf" string
531 531
      * @param  mixed|float|string $end      double or "+inf" or "-inf" string
532 532
      *
533
-     * @return The number of values deleted from the sorted set
533
+     * @return integer number of values deleted from the sorted set
534 534
      */
535 535
     public function zRemRangeByScore(string $key, $start, $end): int
536 536
     {
@@ -558,7 +558,7 @@  discard block
 block discarded – undo
558 558
      * @param  mixed|float|string $start    double or "+inf" or "-inf" string
559 559
      * @param  mixed|float|string $end      double or "+inf" or "-inf" string
560 560
      *
561
-     * @return The number of values deleted from the sorted set
561
+     * @return integer number of values deleted from the sorted set
562 562
      */
563 563
     public function zDeleteRangeByScore(string $key, $start, $end): int
564 564
     {
@@ -586,7 +586,7 @@  discard block
 block discarded – undo
586 586
      * @param  mixed|float|string $start    double or "+inf" or "-inf" string
587 587
      * @param  mixed|float|string $end      double or "+inf" or "-inf" string
588 588
      *
589
-     * @return The number of values deleted from the sorted set
589
+     * @return integer number of values deleted from the sorted set
590 590
      */
591 591
     public function zRemoveRangeByScore(string $key, $start, $end): int
592 592
     {
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
     /**
613 613
      * Validate Lex Params
614 614
      *
615
-     * @param  splat $params
615
+     * @param  splat[] $params
616 616
      *
617 617
      * @return bool
618 618
      */
Please login to merge, or discard this patch.
src/Traits/Scripting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * See: https://redis.io/commands/script-flush.
75 75
      *
76 76
      * @param  string $command
77
-     * @param  splat $scripts
77
+     * @param  splat[] $scripts
78 78
      *
79 79
      * @return mixed            SCRIPT LOAD will return the SHA1 hash of the
80 80
      *                                 passed script on success, and FALSE on
Please login to merge, or discard this patch.
src/Traits/Streams.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
      *
153 153
      * @param  string $stream
154 154
      *
155
-     * @return The number of messages in the stream.
155
+     * @return integer number of messages in the stream.
156 156
      */
157 157
     public function xLen(string $stream): int
158 158
     {
Please login to merge, or discard this patch.