Apply fixes from StyleCI

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

No files matched your search

@@ -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);