Apply fixes from StyleCI

This commit is contained in:
Marcel Pociot
2021-06-02 08:22:02 +00:00
committed by StyleCI Bot
parent 2c8804cff3
commit 01ce0d09e3
3 changed files with 5 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ class DatabaseSubdomainRepository implements SubdomainRepository
$this->database
->query('SELECT * FROM subdomains WHERE subdomain = :name AND domain = :domain', [
'name' => $name,
'domain' => $domain
'domain' => $domain,
])
->then(function (Result $result) use ($deferred) {
$deferred->resolve($result->rows[0] ?? null);