Skip to content

Commit d6870c4

Browse files
Feijssunspikes
authored andcommitted
Added ItemNotFoundException to CacheAdapterInterface, since classes using it depend on this behaviour (#7)
1 parent 8563398 commit d6870c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Cache/Adapter/CacheAdapterInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
namespace Sunspikes\Ratelimit\Cache\Adapter;
2727

28+
use Sunspikes\Ratelimit\Cache\Exception\ItemNotFoundException;
29+
2830
interface CacheAdapterInterface
2931
{
3032
/**
@@ -33,6 +35,8 @@ interface CacheAdapterInterface
3335
* @param string $key
3436
*
3537
* @return mixed
38+
*
39+
* @throws ItemNotFoundException
3640
*/
3741
public function get($key);
3842

0 commit comments

Comments
 (0)