1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

fix: linter issues

This commit is contained in:
Christy Jacob 2022-06-14 20:00:02 +02:00
parent 0556990b66
commit b56fb8f6f4
2 changed files with 5 additions and 6 deletions

View file

@ -2,7 +2,7 @@
namespace Appwrite\DSN;
class DSN
class DSN
{
/**
* @var string
@ -78,7 +78,7 @@ class DSN
*
* @return ?string
*/
public function getUser(): ?string
public function getUser(): ?string
{
return $this->user;
}
@ -88,7 +88,7 @@ class DSN
*
* @return ?string
*/
public function getPassword(): ?string
public function getPassword(): ?string
{
return $this->password;
}
@ -132,4 +132,4 @@ class DSN
{
return $this->query;
}
}
}

View file

@ -7,7 +7,6 @@ use PHPUnit\Framework\TestCase;
class DSNTest extends TestCase
{
public function setUp(): void
{
}
@ -87,4 +86,4 @@ class DSNTest extends TestCase
$this->expectException(\InvalidArgumentException::class);
$dsn = new DSN("mariadb://");
}
}
}