Passed
Push — main ( cab987...c70ec9 )
by
unknown
03:58 queued 37s
created
config/hubspot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,5 +4,5 @@
 block discarded – undo
4 4
 return [
5 5
     'api_key' => env('HUBSPOT_API_KEY'),
6 6
     'access_token' => env('HUBSPOT_ACCESS_TOKEN'),
7
-    'hubspot_owner_id' => env('HUBSPOT_OWNER_ID',null)
7
+    'hubspot_owner_id' => env('HUBSPOT_OWNER_ID', null)
8 8
 ];
Please login to merge, or discard this patch.
src/HubspotEmailChannel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             return null;
47 47
         }
48 48
 
49
-        if (! method_exists($notification, 'toMail')) {
49
+        if ( ! method_exists($notification, 'toMail')) {
50 50
             return null;
51 51
         }
52 52
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $hubspotEmail = $response->json();
68 68
 
69 69
         if ($response->status() == 201 && ! empty($hubspotEmail['id'])) {
70
-            $url = self::HUBSPOT_URL.'/'.$hubspotEmail['id'].'/associations/contacts/'.$hubspotContactId.'/198';
70
+            $url = self::HUBSPOT_URL . '/' . $hubspotEmail['id'] . '/associations/contacts/' . $hubspotContactId . '/198';
71 71
             $newResp = $this->callApi($url, 'put');
72 72
 
73 73
             if ($newResp->status() != 200) {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             throw InvalidConfiguration::configurationNotSet();
89 89
         }
90 90
 
91
-        $url = $baseUrl.'?hapikey='.$apiKey;
91
+        $url = $baseUrl . '?hapikey=' . $apiKey;
92 92
         $http = Http::acceptJson();
93 93
 
94 94
         if (is_null($apiKey)) {
Please login to merge, or discard this patch.