Passed
Push — master ( 291fc1...cc2f1c )
by Patrick
03:14
created
src/ForecastAutomation/GitlabClient/Business/GitlabApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $res = $this->guzzleClient->request(
29 29
             'GET',
30 30
             self::EVENTS_API,
31
-            ['query' => array_merge((array) $queryDto, $this->getToken())],
31
+            ['query' => array_merge((array)$queryDto, $this->getToken())],
32 32
         );
33 33
 
34 34
         return json_decode((string)$res->getBody(), null, 512, JSON_THROW_ON_ERROR);
Please login to merge, or discard this patch.
src/ForecastAutomation/MattermostClient/Business/MattermostApi.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             sprintf(self::CHANNEL_API, $this->mattermostConfigDto->teamId),
37 37
             [
38 38
                 'headers' => [
39
-                    'Authorization' => 'Bearer '.static::$token,
39
+                    'Authorization' => 'Bearer ' . static::$token,
40 40
                     'Content-Type' => 'application/json',
41 41
                 ],
42 42
             ]
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             [
56 56
                 'query' => ['since' => (int)$postsQueryDto->since->format('U') * 1000],
57 57
                 'headers' => [
58
-                    'Authorization' => 'Bearer '.static::$token,
58
+                    'Authorization' => 'Bearer ' . static::$token,
59 59
                     'Content-Type' => 'application/json',
60 60
                 ],
61 61
             ],
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         foreach ($channelArray as $channel) {
100 100
             if ($channel->total_msg_count > 0
101 101
                 && $this->isDirectChannel($channel)
102
-                && $channel->last_post_at >= ((int) $channelFilterQueryDto->lastPostAt->format('U') * 1000)) {
102
+                && $channel->last_post_at >= ((int)$channelFilterQueryDto->lastPostAt->format('U') * 1000)) {
103 103
                 $filteredChannel[] = $channel;
104 104
             }
105 105
         }
Please login to merge, or discard this patch.