@@ -46,7 +46,7 @@ discard block |
||
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 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | if ($response->status() == 201 && ! empty($hubspotEmail['id'])) { |
70 | 70 | |
71 | - $url = self::HUBSPOT_URL.'/'.$hubspotEmail['id'].'/associations/contacts/'.$hubspotContactId.'/198'; |
|
71 | + $url = self::HUBSPOT_URL . '/' . $hubspotEmail['id'] . '/associations/contacts/' . $hubspotContactId . '/198'; |
|
72 | 72 | $newResp = $this->callApi($url, 'put'); |
73 | 73 | |
74 | 74 | if ($newResp->status() != 200) { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | throw InvalidConfiguration::configurationNotSet(); |
90 | 90 | } |
91 | 91 | |
92 | - $url = $baseUrl.'?hapikey='.$apiKey; |
|
92 | + $url = $baseUrl . '?hapikey=' . $apiKey; |
|
93 | 93 | $http = Http::acceptJson(); |
94 | 94 | |
95 | 95 | if (is_null($apiKey)) { |
@@ -4,5 +4,5 @@ |
||
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 | ]; |