Passed
Push — master ( e4cb94...6c843c )
by Jakub
02:09
created
src/ChatCommandsProcessor.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $name = $command->getName();
24 24
         if ($this->hasCommand($name)) {
25
-            throw new CommandNameAlreadyUsedException("Command $name is already defined.");
25
+            throw new CommandNameAlreadyUsedException("command $name is already defined.");
26 26
         }
27 27
         $this->commands[] = $command;
28 28
     }
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
                 return $command;
101 101
             }
102 102
         }
103
-        throw new CommandNotFoundException("Command $name is not defined.");
103
+        throw new CommandNotFoundException("command $name is not defined.");
104 104
     }
105 105
 
106 106
     public function parse(string $message): ?string
Please login to merge, or discard this patch.