@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | namespace HeroesofAbenez\Chat; |
6 | 6 | |
7 | -if (false) { |
|
7 | +if(false) { |
|
8 | 8 | /** @deprecated use BaseChatCommand */ |
9 | 9 | abstract class ChatCommand extends BaseChatCommand |
10 | 10 | { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function getName(): string |
23 | 23 | { |
24 | - if ($this->name !== "") { |
|
24 | + if($this->name !== "") { |
|
25 | 25 | return $this->name; |
26 | 26 | } |
27 | 27 | $className = join('', array_slice(explode('\\', static::class), -1)); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $form->addSubmit("send", "chat.newMessageForm.submitButton.label"); |
27 | 27 | $form->addComponent($chatControl, "chat"); |
28 | 28 | // @phpstan-ignore assign.propertyType |
29 | - $form->onSuccess[] = function (Form $form, array $values): void { |
|
29 | + $form->onSuccess[] = function(Form $form, array $values): void { |
|
30 | 30 | /** @var ChatControl $chat */ |
31 | 31 | $chat = $form->getComponent("chat"); |
32 | 32 | $chat->newMessage($values["message"]); |