Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
harryitz authored Jun 22, 2023
1 parent 5b548f1 commit fed9cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NhanAZ/libBedrock/ResourcePackManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ResourcePackManager {

private static ?ResourcePack $pack = null;

public static function registerResourcePack(PluginBase $plugin, $encryptKey = "") : void {
public static function registerResourcePack(PluginBase $plugin, string $encryptKey = "") : void {
$plugin->getLogger()->debug('Compiling resource pack');
$zip = new \ZipArchive();
$zip->open(Path::join($plugin->getDataFolder(), $plugin->getName() . '.mcpack'), \ZipArchive::CREATE | \ZipArchive::OVERWRITE);
Expand Down

0 comments on commit fed9cd2

Please sign in to comment.