Skip to content

Commit d213002

Browse files
committed
code style
1 parent 361b58a commit d213002

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

EncryptedCachePool.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public function invalidateTags(array $tags)
141141
{
142142
return $this->cachePool->invalidateTags($tags);
143143
}
144+
144145
/**
145146
* {@inheritdoc}
146147
*/

EncryptedItemDecorator.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
namespace Cache\Encryption;
1313

1414
use Cache\Adapter\Common\PhpCacheItem;
15-
use Cache\Adapter\Common\TaggableCacheItemInterface;
1615
use Defuse\Crypto\Crypto;
1716
use Defuse\Crypto\Key;
1817
use 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
*/

0 commit comments

Comments
 (0)