Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arnas committed Aug 26, 2024
1 parent 61ed1ce commit c7b4573
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 75 deletions.
147 changes: 74 additions & 73 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion omnisend/includes/SDK/V1/class-client.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ interface Client {
* @param Contact $contact
*
* @return CreateContactResponse
*
* @deprecated Use save_contact() instead.
*/
public function create_contact( $contact ): CreateContactResponse;
Expand Down
2 changes: 1 addition & 1 deletion tests/Omnisend/SDK/V1/ContactTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ final class ContactTest extends TestCase
public function test_validation(): void
{
// Test valid contact
$contact_data = ['email' => 'test@example.com'];
$contact_data = ['email' => '@example.com'];
$contact = ContactFactory::create_contact($contact_data);
$this->assertFalse($contact->validate()->has_errors());

Expand Down

0 comments on commit c7b4573

Please sign in to comment.