Completed
Push — master ( d10e02...ddaff8 )
by
unknown
03:53
created
examples/WhoAmIBot/Bot.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 
21 21
     private function prepareResponse($user) {
22 22
         return '<strong>Message sent by </strong>' . $user['first_name'] . "\n" .
23
-               '<strong>User ID: </strong>' . $user['id'] . "\n" .
24
-               '<strong>Username: </strong>' . $user['username'] . "\n";
23
+                '<strong>User ID: </strong>' . $user['id'] . "\n" .
24
+                '<strong>Username: </strong>' . $user['username'] . "\n";
25 25
     }
26 26
 }
27 27
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
 // Add a welcome message
31 31
 $start_command = new PhpBotFramework\Commands\MessageCommand('start',
32
-    function ($bot, $message) {
32
+    function($bot, $message) {
33 33
         $bot->sendMessage('<strong>Hey there!</strong> Send or forward me a text message :)');
34 34
     }
35 35
 );
Please login to merge, or discard this patch.