Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
scottgrayson authored and github-actions[bot] committed Jan 13, 2025
1 parent 7a5c81f commit 1c0af65
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/Models/HubspotCompany.php
Original file line number Diff line number Diff line change
@@ -2,13 +2,11 @@

namespace Tapp\LaravelHubspot\Models;

use HubSpot\Client\Crm\Associations\V4\ApiException as AssociationsApiException;
use HubSpot\Client\Crm\Associations\V4\Model\AssociationSpec;
use HubSpot\Client\Crm\Companies\Model\PublicObjectSearchRequest as CompanySearch;
use HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInput as CompanyObject;
use HubSpot\Client\Crm\Companies\ApiException;
use HubSpot\Client\Crm\Companies\Model\Filter;
use HubSpot\Client\Crm\Companies\Model\FilterGroup;
use HubSpot\Client\Crm\Companies\Model\PublicObjectSearchRequest as CompanySearch;
use HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInput as CompanyObject;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Log;
use Tapp\LaravelHubspot\Facades\Hubspot;
@@ -154,7 +152,7 @@ public static function findOrCreateCompany($properties)
// TODO debugging
dump($filter, $properties);
// dd($e);
throw($e);
throw ($e);
}

$companyExists = $searchResults['total'];
2 changes: 1 addition & 1 deletion src/Models/HubspotContact.php
Original file line number Diff line number Diff line change
@@ -196,7 +196,7 @@ public static function associateCompanyWithContact(string $companyId, string $co
} catch (AssociationsApiException $e) {
// dd($companyId, $contactId);
dd($e);
throw($e);
throw ($e);
echo 'Exception when calling basic_api->create: ', $e->getMessage();
}
}

0 comments on commit 1c0af65

Please sign in to comment.