Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 89bc24e

Browse files
author
MintoD
committed
Fix error when use list repo command
1 parent 771b9a2 commit 89bc24e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/thebigcrafter/APM/APM.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,35 +31,35 @@ class APM extends PluginBase
3131

3232
/**
3333
* APM's prefix
34-
*
34+
*
3535
* @var string
3636
*/
3737
public static string $PREFIX = "§a[§bAPM§a]§r ";
3838

3939
/**
4040
* Repositories list
41-
*
41+
*
4242
* @var Config
4343
*/
4444
public Config $repos;
4545

4646
/**
4747
* Plugin's config
48-
*
48+
*
4949
* @var Config
5050
*/
5151
public Config $config;
5252

5353
/**
5454
* Repositories information cache
55-
*
55+
*
5656
* @var array<mixed>
5757
*/
5858
public static array $repoCache = [];
5959

6060
/**
6161
* Plugins information cache
62-
*
62+
*
6363
* @var array<mixed>
6464
*/
6565
public static array $pluginCache = [];
@@ -73,14 +73,14 @@ class APM extends PluginBase
7373

7474
/**
7575
* Language
76-
*
76+
*
7777
* @var BaseLang
7878
*/
7979
private static BaseLang $language;
8080

8181
/**
8282
* Get instance
83-
*
83+
*
8484
* @return self
8585
*/
8686
public static function getInstance(): self
@@ -120,7 +120,7 @@ public function initConfig(): void
120120

121121
/**
122122
* Cache repositories information
123-
*
123+
*
124124
* @return void
125125
*/
126126
public function cacheRepo(): void
@@ -152,7 +152,7 @@ public function cacheRepo(): void
152152

153153
/**
154154
* Cache plugins from repositories
155-
*
155+
*
156156
* @return void
157157
*/
158158
public function cachePlugin(): void
@@ -166,7 +166,7 @@ public function cachePlugin(): void
166166

167167
$plugins = json_decode($cache, true);
168168

169-
self::$repoCache[] = [$cache];
169+
self::$pluginCache[] = [$cache];
170170

171171
foreach ($plugins as $plugin) {
172172
self::$pluginCache[] = [
@@ -186,7 +186,7 @@ public function cachePlugin(): void
186186

187187
/**
188188
* Cache loaded plugins
189-
*
189+
*
190190
* @return void
191191
*/
192192
public function cacheLoadedPlugin(): void

0 commit comments

Comments
 (0)