Completed
Push — master ( f848c8...48e11a )
by Kirill
03:23
created
app/Domains/Bot/Middlewares/PersonalAnswersMiddleware.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             if ($isHello) {
51 51
                 $id = array_rand(\Lang::get('personal.hello'));
52 52
 
53
-                $message->italic(\Lang::get('personal.hello.' . $id, [
53
+                $message->italic(\Lang::get('personal.hello.'.$id, [
54 54
                     'user' => $message->user->login
55 55
                 ]));
56 56
             }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
             if ($isBan) {
112 112
                 $message->italic(sprintf(
113
-                    '@%s, тебе выданы ' . str_repeat(' :hammer: ', random_int(1, 9)) . ' на 0.' . random_int(1, 9) . ' секунды. Наслаждайся ;)',
113
+                    '@%s, тебе выданы '.str_repeat(' :hammer: ', random_int(1, 9)).' на 0.'.random_int(1, 9).' секунды. Наслаждайся ;)',
114 114
                         $message->user->login
115 115
                 ));
116 116
             }
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
             if ($isPolitics) {
128 128
                 $message->italic(sprintf(
129
-                    '@%s, за родину! ' . str_repeat(' :monkey: ', random_int(1, 9)),
129
+                    '@%s, за родину! '.str_repeat(' :monkey: ', random_int(1, 9)),
130 130
                     $message->user->login
131 131
                 ));
132 132
             }
Please login to merge, or discard this patch.