@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @param \Illuminate\Database\ConnectionInterface $connection |
40 | 40 | * @param string $table |
41 | 41 | * @param string $prefix |
42 | - * @return void |
|
42 | + * @return Store |
|
43 | 43 | */ |
44 | 44 | public function __construct(ConnectionInterface $connection, $table, $prefix = '') |
45 | 45 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * |
87 | 87 | * @param string $key |
88 | 88 | * @param mixed $value |
89 | - * @param float|int $minutes |
|
89 | + * @param integer $minutes |
|
90 | 90 | * @return void |
91 | 91 | */ |
92 | 92 | public function put($key, $value, $minutes) |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * Increment the value of an item in the cache. |
109 | 109 | * |
110 | 110 | * @param string $key |
111 | - * @param mixed $value |
|
111 | + * @param integer $value |
|
112 | 112 | * @return int|bool |
113 | 113 | */ |
114 | 114 | public function increment($key, $value = 1) |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * Decrement the value of an item in the cache. |
123 | 123 | * |
124 | 124 | * @param string $key |
125 | - * @param mixed $value |
|
125 | + * @param integer $value |
|
126 | 126 | * @return int|bool |
127 | 127 | */ |
128 | 128 | public function decrement($key, $value = 1) |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * Increment or decrement an item in the cache. |
137 | 137 | * |
138 | 138 | * @param string $key |
139 | - * @param mixed $value |
|
139 | + * @param integer $value |
|
140 | 140 | * @param \Closure $callback |
141 | 141 | * @return int|bool |
142 | 142 | */ |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * |
24 | 24 | * @param string $key |
25 | 25 | * @param array $tags |
26 | - * @return void |
|
26 | + * @return string |
|
27 | 27 | */ |
28 | 28 | public function __construct($key, array $tags = []) |
29 | 29 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * @param string $key |
18 | 18 | * @param mixed $value |
19 | 19 | * @param array $tags |
20 | - * @return void |
|
20 | + * @return string |
|
21 | 21 | */ |
22 | 22 | public function __construct($key, $value, array $tags = []) |
23 | 23 | { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * @param mixed $value |
26 | 26 | * @param int $minutes |
27 | 27 | * @param array $tags |
28 | - * @return void |
|
28 | + * @return string |
|
29 | 29 | */ |
30 | 30 | public function __construct($key, $value, $minutes, $tags = []) |
31 | 31 | { |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * |
31 | 31 | * @param \Illuminate\Filesystem\Filesystem $files |
32 | 32 | * @param string $directory |
33 | - * @return void |
|
33 | + * @return Store |
|
34 | 34 | */ |
35 | 35 | public function __construct(Filesystem $files, $directory) |
36 | 36 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * Increment the value of an item in the cache. |
84 | 84 | * |
85 | 85 | * @param string $key |
86 | - * @param mixed $value |
|
86 | + * @param integer $value |
|
87 | 87 | * @return int |
88 | 88 | */ |
89 | 89 | public function increment($key, $value = 1) |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Decrement the value of an item in the cache. |
100 | 100 | * |
101 | 101 | * @param string $key |
102 | - * @param mixed $value |
|
102 | + * @param integer $value |
|
103 | 103 | * @return int |
104 | 104 | */ |
105 | 105 | public function decrement($key, $value = 1) |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @param \Memcached $memcached |
40 | 40 | * @param string $prefix |
41 | - * @return void |
|
41 | + * @return Store |
|
42 | 42 | */ |
43 | 43 | public function __construct($memcached, $prefix = '') |
44 | 44 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * |
99 | 99 | * @param string $key |
100 | 100 | * @param mixed $value |
101 | - * @param float|int $minutes |
|
101 | + * @param integer $minutes |
|
102 | 102 | * @return void |
103 | 103 | */ |
104 | 104 | public function put($key, $value, $minutes) |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * Increment the value of an item in the cache. |
142 | 142 | * |
143 | 143 | * @param string $key |
144 | - * @param mixed $value |
|
144 | + * @param integer $value |
|
145 | 145 | * @return int|bool |
146 | 146 | */ |
147 | 147 | public function increment($key, $value = 1) |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * Decrement the value of an item in the cache. |
154 | 154 | * |
155 | 155 | * @param string $key |
156 | - * @param mixed $value |
|
156 | + * @param integer $value |
|
157 | 157 | * @return int|bool |
158 | 158 | */ |
159 | 159 | public function decrement($key, $value = 1) |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * Increment the value of an item in the cache. |
44 | 44 | * |
45 | 45 | * @param string $key |
46 | - * @param mixed $value |
|
46 | + * @param integer $value |
|
47 | 47 | * @return int |
48 | 48 | */ |
49 | 49 | public function increment($key, $value = 1) |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * Decrement the value of an item in the cache. |
56 | 56 | * |
57 | 57 | * @param string $key |
58 | - * @param mixed $value |
|
58 | + * @param integer $value |
|
59 | 59 | * @return int |
60 | 60 | */ |
61 | 61 | public function decrement($key, $value = 1) |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * Increment the counter for a given key for a given decay time. |
52 | 52 | * |
53 | 53 | * @param string $key |
54 | - * @param float|int $decayMinutes |
|
54 | + * @param integer $decayMinutes |
|
55 | 55 | * @return int |
56 | 56 | */ |
57 | 57 | public function hit($key, $decayMinutes = 1) |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * Reset the number of attempts for the given key. |
87 | 87 | * |
88 | 88 | * @param string $key |
89 | - * @return mixed |
|
89 | + * @return boolean |
|
90 | 90 | */ |
91 | 91 | public function resetAttempts($key) |
92 | 92 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @param \Illuminate\Contracts\Redis\Factory $redis |
35 | 35 | * @param string $prefix |
36 | 36 | * @param string $connection |
37 | - * @return void |
|
37 | + * @return Store |
|
38 | 38 | */ |
39 | 39 | public function __construct(Redis $redis, $prefix = '', $connection = 'default') |
40 | 40 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * Increment the value of an item in the cache. |
134 | 134 | * |
135 | 135 | * @param string $key |
136 | - * @param mixed $value |
|
136 | + * @param integer $value |
|
137 | 137 | * @return int |
138 | 138 | */ |
139 | 139 | public function increment($key, $value = 1) |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | * Decrement the value of an item in the cache. |
146 | 146 | * |
147 | 147 | * @param string $key |
148 | - * @param mixed $value |
|
148 | + * @param integer $value |
|
149 | 149 | * @return int |
150 | 150 | */ |
151 | 151 | public function decrement($key, $value = 1) |