@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | { |
60 | 60 | $content = $this->buildContent($record); |
61 | 61 | |
62 | - return $this->buildHeader($content).$content; |
|
62 | + return $this->buildHeader($content) . $content; |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
@@ -103,10 +103,10 @@ discard block |
||
103 | 103 | */ |
104 | 104 | private function buildHeader($content) |
105 | 105 | { |
106 | - $header = 'POST '.$this->slackConfig->getWebhook()." HTTP/1.1\r\n"; |
|
106 | + $header = 'POST ' . $this->slackConfig->getWebhook() . " HTTP/1.1\r\n"; |
|
107 | 107 | $header .= "Host: slack.com\r\n"; |
108 | 108 | $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; |
109 | - $header .= 'Content-Length: '.strlen($content)."\r\n"; |
|
109 | + $header .= 'Content-Length: ' . strlen($content) . "\r\n"; |
|
110 | 110 | $header .= "\r\n"; |
111 | 111 | |
112 | 112 | return $header; |