File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ protected function tagIds()
47
47
48
48
foreach ($ this ->names as $ name ) {
49
49
// get tag hash from static cache or from memcache
50
- $ tag = static ::$ tags [$ name ] ?? $ this ->tagId ($ name );
50
+ $ tag = self ::$ tags [$ name ] ?? $ this ->tagId ($ name );
51
51
52
52
// store tag id to static cache
53
- $ ids [] = static ::$ tags [$ name ] = $ tag ;
53
+ $ ids [] = self ::$ tags [$ name ] = $ tag ;
54
54
}
55
55
56
56
// return tag hashed ids
@@ -67,7 +67,7 @@ protected function tagIds()
67
67
public function resetTag ($ name )
68
68
{
69
69
// unset tag value from static cache
70
- unset(static ::$ tags [$ name ]);
70
+ unset(self ::$ tags [$ name ]);
71
71
72
72
// reset tag value in memcache
73
73
return parent ::resetTag ($ name );
@@ -92,7 +92,7 @@ public function tagKey($name)
92
92
*/
93
93
public static function resetCachedTags (): void
94
94
{
95
- static ::$ tags = [];
95
+ self ::$ tags = [];
96
96
}
97
97
98
98
/**
@@ -102,6 +102,6 @@ public static function resetCachedTags(): void
102
102
*/
103
103
public static function getCachedTags (): array
104
104
{
105
- return static ::$ tags ;
105
+ return self ::$ tags ;
106
106
}
107
107
}
You can’t perform that action at this time.
0 commit comments