Skip to content

Commit b7c9c19

Browse files
committed
Re-add phpdoc
1 parent e8c63a7 commit b7c9c19

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ 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+
*/
4046
public function __construct(
4147
FrontendPool $cachePool,
4248
StateInterface $cacheState,
@@ -52,6 +58,10 @@ public function __construct(
5258
/**
5359
* Clean cache when object is saved
5460
*
61+
* @param AbstractResource $subject
62+
* @param AbstractResource $result
63+
* @param AbstractModel $object
64+
* @return AbstractResource
5565
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5666
*/
5767
public function afterSave(
@@ -68,6 +78,10 @@ public function afterSave(
6878
/**
6979
* Clean cache when object is deleted
7080
*
81+
* @param AbstractResource $subject
82+
* @param AbstractResource $result
83+
* @param AbstractModel $object
84+
* @return AbstractResource
7185
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
7286
*/
7387
public function afterDelete(
@@ -85,6 +99,7 @@ public function afterDelete(
8599
* Clean cache by tags
86100
*
87101
* @param string[] $tags
102+
* @return void
88103
*/
89104
private function cleanCacheByTags(array $tags): void
90105
{

0 commit comments

Comments
 (0)