@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | public function formatBold(string $string): string |
21 | 21 | { |
22 | - return '*' . $string . '*'; |
|
22 | + return '*'.$string.'*'; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function formatItalic(string $string): string |
30 | 30 | { |
31 | - return '_' . $string . '_'; |
|
31 | + return '_'.$string.'_'; |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function formatStrikeThought(string $string): string |
39 | 39 | { |
40 | - return '~' . $string . '~'; |
|
40 | + return '~'.$string.'~'; |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | $output = "\n"; |
55 | 55 | foreach ($list as $value) { |
56 | - $output .= "• " . $value . "\n"; |
|
56 | + $output .= "• ".$value."\n"; |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | return $output; |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | $n = 0; |
74 | 74 | $output = "\n"; |
75 | 75 | foreach ($list as $value) { |
76 | - $output .= ++$n . ". " . $value . "\n"; |
|
76 | + $output .= ++$n.". ".$value."\n"; |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | return $output; |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | */ |
108 | 108 | public function formatLink(string $title, string $url): string |
109 | 109 | { |
110 | - return "<" . $url . "|" . $title . ">"; |
|
110 | + return "<".$url."|".$title.">"; |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
@@ -89,7 +89,7 @@ |
||
89 | 89 | $slackMessage = new SlackMessage(); |
90 | 90 | |
91 | 91 | $quoteText = [ |
92 | - 'This is ' . $this->formatBold('test') . ' message sent by SlackBot', |
|
92 | + 'This is '.$this->formatBold('test').' message sent by SlackBot', |
|
93 | 93 | $this->formatCode([ |
94 | 94 | '<?php', |
95 | 95 | '$someString = \'Hello world!\';', |