Completed
Push — master ( 48e11a...1a5eae )
by Kirill
05:17 queued 01:41
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
             }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 
130 130
             if ($isPolitics) {
131 131
                 $message->italic(sprintf(
132
-                    '@%s, за ' . $message->text_without_special_chars . '! ' . str_repeat(' :monkey: ', random_int(1, 9)),
132
+                    '@%s, за '.$message->text_without_special_chars.'! '.str_repeat(' :monkey: ', random_int(1, 9)),
133 133
                     $message->user->login
134 134
                 ));
135 135
             }
Please login to merge, or discard this patch.