@@ -27,7 +27,7 @@ |
||
27 | 27 | curl_setopt($ch, \CURLOPT_URL, $this->webhookUrl); |
28 | 28 | |
29 | 29 | curl_setopt($ch, \CURLOPT_POST, 1); |
30 | - curl_setopt($ch, \CURLOPT_POSTFIELDS, 'payload=' .json_encode($payload)); |
|
30 | + curl_setopt($ch, \CURLOPT_POSTFIELDS, 'payload=' . json_encode($payload)); |
|
31 | 31 | |
32 | 32 | $result = curl_exec($ch); |
33 | 33 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | $change = new Change(); |
60 | 60 | foreach ($gitLog as $line) { |
61 | - if(strpos($line, 'commit') === 0) { |
|
61 | + if (strpos($line, 'commit') === 0) { |
|
62 | 62 | if (null !== $change->reference) { |
63 | 63 | $change->fullDescription = trim($change->fullDescription); |
64 | 64 | $changes[] = $change; |