Completed
Push — SWP-2348 ( 5d1e02...dd3992 )
by
unknown
46s
created
src/SWP/Bundle/CoreBundle/Controller/ContentListController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
               'secret' => $token,
98 98
           ];
99 99
 
100
-          $response = $client->request('POST', $url,  [
100
+          $response = $client->request('POST', $url, [
101 101
               'headers' => $headers,
102 102
               'json' => $data,
103 103
               'query' => $queryParams
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
           ];
118 118
 
119 119
           if (is_writable('/tmp')) {
120
-              file_put_contents('/tmp/cache_invalidation.json', json_encode($result) . PHP_EOL, FILE_APPEND);
120
+              file_put_contents('/tmp/cache_invalidation.json', json_encode($result).PHP_EOL, FILE_APPEND);
121 121
           }
122 122
       } catch (\Throwable $e) {
123 123
           if (is_writable('/tmp')) {
124
-              file_put_contents('/tmp/cache_invalidation_errors.json', $e->getMessage() . PHP_EOL, FILE_APPEND);
124
+              file_put_contents('/tmp/cache_invalidation_errors.json', $e->getMessage().PHP_EOL, FILE_APPEND);
125 125
           }
126 126
           // Don't throw the exception, just log it
127
-          error_log('Cache invalidation failed: ' . $e->getMessage());
127
+          error_log('Cache invalidation failed: '.$e->getMessage());
128 128
       }
129 129
   }
130 130
 
Please login to merge, or discard this patch.