diff --git a/src/Resources/Contacts.php b/src/Resources/Contacts.php index ac971a43..f881ffd6 100644 --- a/src/Resources/Contacts.php +++ b/src/Resources/Contacts.php @@ -237,7 +237,7 @@ public function getById($id, array $params = []) * @param array $vids Array of visitor IDs * @param array $params Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', * 'showListMemberships', 'includeDeletes'] - * + * * @see https://developers.hubspot.com/docs/methods/contacts/get_batch_by_vid * * @return \SevenShores\Hubspot\Http\Response diff --git a/tests/Integration/Abstraction/DefaultTestCase.php b/tests/Integration/Abstraction/DefaultTestCase.php index 6aa97b35..b7d895a9 100644 --- a/tests/Integration/Abstraction/DefaultTestCase.php +++ b/tests/Integration/Abstraction/DefaultTestCase.php @@ -35,7 +35,7 @@ public function setUp() } sleep(1); } - + protected function getClient(): Client { return new Client(['key' => getenv($this->key)]); diff --git a/tests/Integration/Resources/CompaniesTest.php b/tests/Integration/Resources/CompaniesTest.php index 495dfc52..e5b63331 100644 --- a/tests/Integration/Resources/CompaniesTest.php +++ b/tests/Integration/Resources/CompaniesTest.php @@ -92,7 +92,7 @@ public function delete() $this->assertEquals(200, $response->getStatusCode()); $this->assertEquals($this->entity->companyId, $response->companyId); $this->assertTrue($response['deleted']); - + $this->entity = null; } @@ -284,7 +284,6 @@ protected function deleteAssociatedContacts($companyId, $contactIds = []) protected function createEntity() { - return $this->resource->create([ [ 'name' => 'name', @@ -298,7 +297,7 @@ protected function createEntity() 'name' => 'domain', 'value' => 'example.com', ], - ]); + ]); } protected function deleteEntity()