@@ -31,21 +31,21 @@ class DynamoDbStore implements Store
3131 /**
3232 * The name of the attribute that should hold the key.
3333 *
34- * @var string
34+ * @var string
3535 */
3636 protected $ keyAttribute ;
3737
3838 /**
3939 * The name of the attribute that should hold the value.
4040 *
41- * @var string
41+ * @var string
4242 */
4343 protected $ valueAttribute ;
4444
4545 /**
4646 * The name of the attribute that should hold the expiration timestamp.
4747 *
48- * @var string
48+ * @var string
4949 */
5050 protected $ expirationAttribute ;
5151
@@ -214,7 +214,7 @@ public function put($key, $value, $minutes)
214214 *
215215 * @param array $values
216216 * @param float|int $minutes
217- * @return void
217+ * @return bool
218218 */
219219 public function putMany (array $ values , $ minutes )
220220 {
@@ -256,7 +256,7 @@ public function putMany(array $values, $minutes)
256256 public function add ($ key , $ value , $ minutes )
257257 {
258258 try {
259- $ response = $ this ->dynamo ->putItem ([
259+ $ this ->dynamo ->putItem ([
260260 'TableName ' => $ this ->table ,
261261 'Item ' => [
262262 $ this ->keyAttribute => [
@@ -295,7 +295,7 @@ public function add($key, $value, $minutes)
295295 * Increment the value of an item in the cache.
296296 *
297297 * @param string $key
298- * @param mixed $value
298+ * @param mixed $value
299299 * @return int|bool
300300 */
301301 public function increment ($ key , $ value = 1 )
@@ -340,7 +340,7 @@ public function increment($key, $value = 1)
340340 * Decrement the value of an item in the cache.
341341 *
342342 * @param string $key
343- * @param mixed $value
343+ * @param mixed $value
344344 * @return int|bool
345345 */
346346 public function decrement ($ key , $ value = 1 )
@@ -385,8 +385,8 @@ public function decrement($key, $value = 1)
385385 * Store an item in the cache indefinitely.
386386 *
387387 * @param string $key
388- * @param mixed $value
389- * @return void
388+ * @param mixed $value
389+ * @return bool
390390 */
391391 public function forever ($ key , $ value )
392392 {
0 commit comments