@@ -31,35 +31,35 @@ class APM extends PluginBase
31
31
32
32
/**
33
33
* APM's prefix
34
- *
34
+ *
35
35
* @var string
36
36
*/
37
37
public static string $ PREFIX = "§a[§bAPM§a]§r " ;
38
38
39
39
/**
40
40
* Repositories list
41
- *
41
+ *
42
42
* @var Config
43
43
*/
44
44
public Config $ repos ;
45
45
46
46
/**
47
47
* Plugin's config
48
- *
48
+ *
49
49
* @var Config
50
50
*/
51
51
public Config $ config ;
52
52
53
53
/**
54
54
* Repositories information cache
55
- *
55
+ *
56
56
* @var array<mixed>
57
57
*/
58
58
public static array $ repoCache = [];
59
59
60
60
/**
61
61
* Plugins information cache
62
- *
62
+ *
63
63
* @var array<mixed>
64
64
*/
65
65
public static array $ pluginCache = [];
@@ -73,14 +73,14 @@ class APM extends PluginBase
73
73
74
74
/**
75
75
* Language
76
- *
76
+ *
77
77
* @var BaseLang
78
78
*/
79
79
private static BaseLang $ language ;
80
80
81
81
/**
82
82
* Get instance
83
- *
83
+ *
84
84
* @return self
85
85
*/
86
86
public static function getInstance (): self
@@ -120,7 +120,7 @@ public function initConfig(): void
120
120
121
121
/**
122
122
* Cache repositories information
123
- *
123
+ *
124
124
* @return void
125
125
*/
126
126
public function cacheRepo (): void
@@ -152,7 +152,7 @@ public function cacheRepo(): void
152
152
153
153
/**
154
154
* Cache plugins from repositories
155
- *
155
+ *
156
156
* @return void
157
157
*/
158
158
public function cachePlugin (): void
@@ -166,7 +166,7 @@ public function cachePlugin(): void
166
166
167
167
$ plugins = json_decode ($ cache , true );
168
168
169
- self ::$ repoCache [] = [$ cache ];
169
+ self ::$ pluginCache [] = [$ cache ];
170
170
171
171
foreach ($ plugins as $ plugin ) {
172
172
self ::$ pluginCache [] = [
@@ -186,7 +186,7 @@ public function cachePlugin(): void
186
186
187
187
/**
188
188
* Cache loaded plugins
189
- *
189
+ *
190
190
* @return void
191
191
*/
192
192
public function cacheLoadedPlugin (): void
0 commit comments