Skip to content

Commit

Permalink
Run php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvdm committed Oct 30, 2023
1 parent 335b2e0 commit 898c3cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/IsProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function check(string $domain, string $tld): ?IsProxyDomain

public function enable(string $function): bool
{
if (!$this->connection->isConnected() && !$this->connection->connect()) {
if (! $this->connection->isConnected() && ! $this->connection->connect()) {
throw new IsProxyConnectionException('Cannot connect to IsProxy');
}

Expand Down
3 changes: 1 addition & 2 deletions tests/IsProxyConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function test_check_premium(): void
$this->assertInstanceOf(IsProxyDomain::class, $premiumDomain);
$this->assertSame(IsProxyDomain::STATUS_AVAILABLE, $premiumDomain->getStatus());
$this->assertSame('example.com', $premiumDomain->getDomain());
$this->assertEquals(['type' => 'premium', 'price' => '1500', 'currency' => 'USD'], $premiumDomain->getExtras());
$this->assertSame(['type' => 'premium', 'price' => '1500', 'currency' => 'USD'], $premiumDomain->getExtras());
$this->assertSame('example.com', $premiumDomain->getDomain());
$this->assertTrue($premiumDomain->isAvailable());

Expand Down Expand Up @@ -182,5 +182,4 @@ public function test_check_premium(): void
$this->assertEmpty($availableDomain->getExtras());
$this->assertTrue($invalidDomain->isInvalid());
}

}

0 comments on commit 898c3cd

Please sign in to comment.