File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
app/code/Magento/PageCache Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ class PageCachePlugin
12
12
* Attach FPC tag to all saved entries to enable cache type management
13
13
*
14
14
* @param \Magento\Framework\App\PageCache\Cache $subject
15
- * @param $data
16
- * @param $identifier
17
- * @param array $tags
18
- * @param null $lifeTime
15
+ * @param string $data
16
+ * @param string $identifier
17
+ * @param string[] $tags
18
+ * @param int| null $lifeTime
19
19
* @return array
20
+ *
21
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
20
22
*/
21
23
public function beforeSave (
22
24
\Magento \Framework \App \PageCache \Cache $ subject ,
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ namespace Magento \PageCache \Test \Unit \Model \App ;
8
+
7
9
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager ;
8
10
use Magento \PageCache \Model \Cache \Type ;
9
11
You can’t perform that action at this time.
0 commit comments