Passed
Push — master ( 6959b9...e4cb94 )
by Jakub
13:06
created
src/ChatCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/BaseChatCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/NewChatMessageFormFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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"]);
Please login to merge, or discard this patch.