Completed
Pull Request — master (#89)
by Roberto
10:43
created
src/Traits/Sets.php 1 patch
Doc Comments   +4 added lines, -4 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
Please login to merge, or discard this patch.