Skip to content

Commit

Permalink
fix: remove some outdated docblock comments that should have been rem…
Browse files Browse the repository at this point in the history
…oved during Laminas update (#25)
  • Loading branch information
ilindsay authored Jan 25, 2024
1 parent 5ba7b52 commit f891a80
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/Service/CacheEncryption.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,7 @@ public function hasCustomItem(string $cacheType, string $uniqueId = ''): bool
* Shared mode: value will have been encrypted using a key shared between all nodes
* Node specific mode: value will have been encrypted for a single group of nodes only e.g. ssweb, iuweb or api
*
* The suppression of errors here is due to Laminas using deprecated methods
* This will be fixed by an upgrade to the laminas-cache package, covered by the above ticket
*
* @param string $cacheKey
* @param string $encryptionMode
*
* @throws \Exception
* @return bool
*/
public function removeItem(string $cacheKey, string $encryptionMode): bool
{
Expand All @@ -167,14 +160,7 @@ public function removeItem(string $cacheKey, string $encryptionMode): bool
/**
* Remove a custom (non CQRS) cache item
*
* The suppression of errors here is due to Laminas using deprecated methods
* This will be fixed by an upgrade to the laminas-cache package, covered by the above ticket
*
* @param string $cacheKey
* @param string $uniqueId
*
* @throws \Exception
* @return int
*/
public function removeCustomItem(string $cacheKey, string $uniqueId = ''): bool
{
Expand All @@ -188,14 +174,7 @@ public function removeCustomItem(string $cacheKey, string $uniqueId = ''): bool
* Note that the method expects that ids will be included, to delete a cache which isn't specific
* to a user/licence etc, use the removeCustomItem method which allows a blank value for $uniqueId
*
* The suppression of errors here is due to Laminas using deprecated methods
* This will be fixed by an upgrade to the laminas-cache package, covered by the above ticket
*
* @param string $cacheKey
* @param array $uniqueIds
*
* @throws \Exception
* @return array
*/
public function removeCustomItems(string $cacheKey, array $uniqueIds): array
{
Expand Down

0 comments on commit f891a80

Please sign in to comment.