@@ -107,9 +107,11 @@ protected function removeElementFromBuffer($key)
107107
108108 /**
109109 * Psr implementation of getItem()
110- *
110+ *
111111 * @param string $key
112112 * @return CacheItem
113+ * @throws \Psr\SimpleCache\InvalidArgumentException
114+ * @throws \Psr\SimpleCache\InvalidArgumentException
113115 */
114116 public function getItem ($ key )
115117 {
@@ -132,9 +134,10 @@ public function getItem($key)
132134
133135 /**
134136 * Psr implementation of getItems()
135- *
137+ *
136138 * @param array $keys
137139 * @return array
140+ * @throws \Psr\SimpleCache\InvalidArgumentException
138141 */
139142 public function getItems (array $ keys = array ())
140143 {
@@ -148,9 +151,10 @@ public function getItems(array $keys = array())
148151
149152 /**
150153 * Psr implementation of hasItems()
151- *
154+ *
152155 * @param string $key
153156 * @return bool
157+ * @throws \Psr\SimpleCache\InvalidArgumentException
154158 */
155159 public function hasItem ($ key )
156160 {
@@ -171,6 +175,7 @@ public function clear()
171175 *
172176 * @param string $key
173177 * @return bool
178+ * @throws \Psr\SimpleCache\InvalidArgumentException
174179 */
175180 public function deleteItem ($ key )
176181 {
@@ -179,9 +184,11 @@ public function deleteItem($key)
179184
180185 /**
181186 * Psr Implementation of deleteItems()
182- *
187+ *
183188 * @param array $keys
184189 * @return bool
190+ * @throws \Psr\SimpleCache\InvalidArgumentException
191+ * @throws \Psr\SimpleCache\InvalidArgumentException
185192 */
186193 public function deleteItems (array $ keys )
187194 {
@@ -196,6 +203,8 @@ public function deleteItems(array $keys)
196203 /**
197204 * @param CacheItemInterface $item
198205 * @return bool
206+ * @throws \Psr\SimpleCache\InvalidArgumentException
207+ * @throws \Psr\SimpleCache\InvalidArgumentException
199208 */
200209 public function save (CacheItemInterface $ item )
201210 {
@@ -232,6 +241,8 @@ public function saveDeferred(CacheItemInterface $item)
232241
233242 /**
234243 * Psr implementation of commit()
244+ *
245+ * @throws \Psr\SimpleCache\InvalidArgumentException
235246 */
236247 public function commit ()
237248 {
0 commit comments