File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ public function invalidateTags(array $tags)
141141 {
142142 return $ this ->cachePool ->invalidateTags ($ tags );
143143 }
144+
144145 /**
145146 * {@inheritdoc}
146147 */
Original file line number Diff line number Diff line change 1212namespace Cache \Encryption ;
1313
1414use Cache \Adapter \Common \PhpCacheItem ;
15- use Cache \Adapter \Common \TaggableCacheItemInterface ;
1615use Defuse \Crypto \Crypto ;
1716use Defuse \Crypto \Key ;
1817use Psr \Cache \CacheItemInterface ;
19- use Psr \Cache \InvalidArgumentException ;
2018
2119/**
2220 * Encrypt and Decrypt all the stored items.
@@ -145,6 +143,7 @@ public function setTags(array $tags)
145143 public function addTag ($ tag )
146144 {
147145 $ this ->cacheItem ->addTag ($ tag );
146+
148147 return $ this ;
149148 }
150149
@@ -154,10 +153,10 @@ public function addTag($tag)
154153 public function addTags (array $ tags )
155154 {
156155 $ this ->cacheItem ->addTags ($ tags );
156+
157157 return $ this ;
158158 }
159159
160-
161160 /**
162161 * Creating a copy of the orginal CacheItemInterface object.
163162 */
You can’t perform that action at this time.
0 commit comments