- Some more work done to allow more flexibility for other plugins
This commit is contained in:
1 parent
3905047111
commit
317d62ceaa
5 files changed
+7
-6
No files matched your search
@@ -170,9 +170,9 @@ class EntityResolver {
|
||||
return $table;
|
||||
}
|
||||
|
||||
public function databaseName() : string
|
||||
public function databaseName() : ? string
|
||||
{
|
||||
return $this->tableAnnotation(false)->database ?? $this->databaseAdapter()->adapter()->database;
|
||||
return $this->tableAnnotation(false)->database ?? $this->databaseAdapter()->adapter()->database ?? null;
|
||||
}
|
||||
|
||||
public function sqlAdapter() : \Ulmus\ConnectionAdapter
|
||||
|
||||
Reference in new issue
Block a user