Skip to content

Commit

Permalink
[FIX] : Shadowing on plugin property (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholass003 authored Apr 6, 2024
1 parent 33c0a38 commit b815968
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Download Virion Dependencies
run: |
wget -O vendor/FormsUI.phar https://poggit.pmmp.io/r/209836/FormsUI_dev-20.phar
wget -O vendor/Commando.phar https://poggit.pmmp.io/r/216831/Commando_dev-34.phar
wget -O vendor/Commando.phar https://poggit.pmmp.io/r/233076/Commando_dev-41.phar
wget -O vendor/libPiggyUpdateChecker.phar https://poggit.pmmp.io/r/211732/libPiggyUpdateChecker_dev-2.phar
wget -O vendor/Customies.phar https://poggit.pmmp.io/r/216154/Customies.phar
- name: Run PHPStan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
use DaPigGuy\PiggyCustomEnchants\PiggyCustomEnchants;
use pocketmine\command\CommandSender;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
use Vecnavium\FormsUI\SimpleForm;

class CustomEnchantsCommand extends BaseCommand
{
/** @var PiggyCustomEnchants */
protected $plugin;
protected Plugin $plugin;

public function onRun(CommandSender $sender, string $aliasUsed, array $args): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
use DaPigGuy\PiggyCustomEnchants\PiggyCustomEnchants;
use pocketmine\command\CommandSender;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
use Vecnavium\FormsUI\SimpleForm;

class AboutSubCommand extends BaseSubCommand
{
/** @var PiggyCustomEnchants */
protected $plugin;
protected Plugin $plugin;

public function onRun(CommandSender $sender, string $aliasUsed, array $args): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
use pocketmine\item\enchantment\EnchantmentInstance;
use pocketmine\item\ItemTypeIds;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
use Ramsey\Uuid\Uuid;
use Vecnavium\FormsUI\CustomForm;

class EnchantSubCommand extends BaseSubCommand
{
/** @var PiggyCustomEnchants */
protected $plugin;
protected Plugin $plugin;

public function onRun(CommandSender $sender, string $aliasUsed, array $args): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
use DaPigGuy\PiggyCustomEnchants\utils\Utils;
use pocketmine\command\CommandSender;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
use Vecnavium\FormsUI\CustomForm;
use Vecnavium\FormsUI\SimpleForm;

class InfoSubCommand extends BaseSubCommand
{
/** @var PiggyCustomEnchants */
protected $plugin;
protected Plugin $plugin;

public function onRun(CommandSender $sender, string $aliasUsed, array $args): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
use DaPigGuy\PiggyCustomEnchants\utils\Utils;
use pocketmine\command\CommandSender;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
use Vecnavium\FormsUI\SimpleForm;

class ListSubCommand extends BaseSubCommand
{
/** @var PiggyCustomEnchants */
protected $plugin;
protected Plugin $plugin;

public function onRun(CommandSender $sender, string $aliasUsed, array $args): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
use DaPigGuy\PiggyCustomEnchants\PiggyCustomEnchants;
use pocketmine\command\CommandSender;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;

class NBTSubCommand extends BaseSubCommand
{
/** @var PiggyCustomEnchants */
protected $plugin;
protected Plugin $plugin;

public function onRun(CommandSender $sender, string $aliasUsed, array $args): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
use DaPigGuy\PiggyCustomEnchants\utils\Utils;
use pocketmine\command\CommandSender;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
use Vecnavium\FormsUI\CustomForm;

class RemoveSubCommand extends BaseSubCommand
{
/** @var PiggyCustomEnchants */
protected $plugin;
protected Plugin $plugin;

public function onRun(CommandSender $sender, string $aliasUsed, array $args): void
{
Expand Down

0 comments on commit b815968

Please sign in to comment.