From 564ba659880454e7ea430b4f086b01c7756c5c66 Mon Sep 17 00:00:00 2001 From: bbo51dog Date: Wed, 8 Dec 2021 01:01:08 +0900 Subject: [PATCH] PM4 --- src/bbo51dog/bboform/element/Button.php | 2 +- src/bbo51dog/bboform/element/ClosureButton.php | 2 +- src/bbo51dog/bboform/element/CustomFormElement.php | 2 +- src/bbo51dog/bboform/element/Dropdown.php | 4 ++-- src/bbo51dog/bboform/element/Element.php | 2 +- src/bbo51dog/bboform/form/ClosureCustomForm.php | 2 +- src/bbo51dog/bboform/form/CustomForm.php | 2 +- src/bbo51dog/bboform/form/FormBase.php | 2 +- src/bbo51dog/bboform/form/ModalForm.php | 2 +- src/bbo51dog/bboform/form/SimpleForm.php | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/bbo51dog/bboform/element/Button.php b/src/bbo51dog/bboform/element/Button.php index 6c86894..22c466e 100644 --- a/src/bbo51dog/bboform/element/Button.php +++ b/src/bbo51dog/bboform/element/Button.php @@ -2,7 +2,7 @@ namespace bbo51dog\bboform\element; -use pocketmine\Player; +use pocketmine\player\Player; class Button implements SimpleFormElement, ModalFormElement { diff --git a/src/bbo51dog/bboform/element/ClosureButton.php b/src/bbo51dog/bboform/element/ClosureButton.php index e0dd568..1143833 100644 --- a/src/bbo51dog/bboform/element/ClosureButton.php +++ b/src/bbo51dog/bboform/element/ClosureButton.php @@ -3,7 +3,7 @@ namespace bbo51dog\bboform\element; use Closure; -use pocketmine\Player; +use pocketmine\player\Player; class ClosureButton extends Button { diff --git a/src/bbo51dog/bboform/element/CustomFormElement.php b/src/bbo51dog/bboform/element/CustomFormElement.php index c56cb06..f224139 100644 --- a/src/bbo51dog/bboform/element/CustomFormElement.php +++ b/src/bbo51dog/bboform/element/CustomFormElement.php @@ -2,7 +2,7 @@ namespace bbo51dog\bboform\element; -use pocketmine\Player; +use pocketmine\player\Player; abstract class CustomFormElement implements Element { diff --git a/src/bbo51dog/bboform/element/Dropdown.php b/src/bbo51dog/bboform/element/Dropdown.php index 55c59b4..087cacc 100644 --- a/src/bbo51dog/bboform/element/Dropdown.php +++ b/src/bbo51dog/bboform/element/Dropdown.php @@ -5,10 +5,10 @@ class Dropdown extends CustomFormElement { /** @var string */ - private $text = ""; + private $text; /** @var string[] */ - private $options = []; + private $options; /** * Dropdown constructor. diff --git a/src/bbo51dog/bboform/element/Element.php b/src/bbo51dog/bboform/element/Element.php index fb06f02..232bef7 100644 --- a/src/bbo51dog/bboform/element/Element.php +++ b/src/bbo51dog/bboform/element/Element.php @@ -3,7 +3,7 @@ namespace bbo51dog\bboform\element; use JsonSerializable; -use pocketmine\Player; +use pocketmine\player\Player; interface Element extends JsonSerializable { diff --git a/src/bbo51dog/bboform/form/ClosureCustomForm.php b/src/bbo51dog/bboform/form/ClosureCustomForm.php index 917123a..28f2928 100644 --- a/src/bbo51dog/bboform/form/ClosureCustomForm.php +++ b/src/bbo51dog/bboform/form/ClosureCustomForm.php @@ -3,7 +3,7 @@ namespace bbo51dog\bboform\form; use Closure; -use pocketmine\Player; +use pocketmine\player\Player; class ClosureCustomForm extends CustomForm { diff --git a/src/bbo51dog/bboform/form/CustomForm.php b/src/bbo51dog/bboform/form/CustomForm.php index b0e07e6..38446b2 100644 --- a/src/bbo51dog/bboform/form/CustomForm.php +++ b/src/bbo51dog/bboform/form/CustomForm.php @@ -3,7 +3,7 @@ namespace bbo51dog\bboform\form; use bbo51dog\bboform\element\CustomFormElement; -use pocketmine\Player; +use pocketmine\player\Player; class CustomForm extends FormBase { diff --git a/src/bbo51dog/bboform/form/FormBase.php b/src/bbo51dog/bboform/form/FormBase.php index a9025bc..ac9ed8f 100644 --- a/src/bbo51dog/bboform/form/FormBase.php +++ b/src/bbo51dog/bboform/form/FormBase.php @@ -3,7 +3,7 @@ namespace bbo51dog\bboform\form; use pocketmine\form\Form; -use pocketmine\Player; +use pocketmine\player\Player; abstract class FormBase implements Form { diff --git a/src/bbo51dog/bboform/form/ModalForm.php b/src/bbo51dog/bboform/form/ModalForm.php index 7dcdd82..d13f778 100644 --- a/src/bbo51dog/bboform/form/ModalForm.php +++ b/src/bbo51dog/bboform/form/ModalForm.php @@ -3,7 +3,7 @@ namespace bbo51dog\bboform\form; use bbo51dog\bboform\element\Button; -use pocketmine\Player; +use pocketmine\player\Player; class ModalForm extends FormBase { diff --git a/src/bbo51dog/bboform/form/SimpleForm.php b/src/bbo51dog/bboform/form/SimpleForm.php index a7e835f..a12ac20 100644 --- a/src/bbo51dog/bboform/form/SimpleForm.php +++ b/src/bbo51dog/bboform/form/SimpleForm.php @@ -3,7 +3,7 @@ namespace bbo51dog\bboform\form; use bbo51dog\bboform\element\SimpleFormElement; -use pocketmine\Player; +use pocketmine\player\Player; class SimpleForm extends FormBase {