Skip to content

Commit 86d8b9b

Browse files
committed
Remove documentation that duplicates information in method signature
1 parent 4a8f99d commit 86d8b9b

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

lib/internal/Magento/Framework/App/Cache/FlushCacheByTags.php

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ class FlushCacheByTags
3737
*/
3838
private $tagResolver;
3939

40-
/**
41-
* @param FrontendPool $cachePool
42-
* @param StateInterface $cacheState
43-
* @param string[] $cacheList
44-
* @param Resolver $tagResolver
45-
*/
4640
public function __construct(
4741
FrontendPool $cachePool,
4842
StateInterface $cacheState,
@@ -56,12 +50,8 @@ public function __construct(
5650
}
5751

5852
/**
59-
* Clean cache on save object
53+
* Clean cache when object is saved
6054
*
61-
* @param AbstractResource $subject
62-
* @param \Closure $proceed
63-
* @param AbstractModel $object
64-
* @return AbstractResource
6555
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
6656
*/
6757
public function aroundSave(AbstractResource $subject, \Closure $proceed, AbstractModel $object): AbstractResource
@@ -74,12 +64,8 @@ public function aroundSave(AbstractResource $subject, \Closure $proceed, Abstrac
7464
}
7565

7666
/**
77-
* Clean cache on delete object
67+
* Clean cache when object is deleted
7868
*
79-
* @param AbstractResource $subject
80-
* @param \Closure $proceed
81-
* @param AbstractModel $object
82-
* @return AbstractResource
8369
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
8470
*/
8571
public function aroundDelete(AbstractResource $subject, \Closure $proceed, AbstractModel $object): AbstractResource
@@ -95,7 +81,6 @@ public function aroundDelete(AbstractResource $subject, \Closure $proceed, Abstr
9581
* Clean cache by tags
9682
*
9783
* @param string[] $tags
98-
* @return void
9984
*/
10085
private function cleanCacheByTags(array $tags): void
10186
{

0 commit comments

Comments
 (0)