We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70d7ac0 commit e3f4c93Copy full SHA for e3f4c93
1 file changed
src/Database/Database.php
@@ -352,10 +352,10 @@ class Database
352
/**
353
* List of collections that should be treated as globally accessible
354
*
355
- * @var array<string>
+ * @var array<string, bool>
356
*/
357
protected array $globalCollections = [
358
- self::METADATA,
+ self::METADATA => true
359
];
360
361
@@ -1046,7 +1046,7 @@ public function setGlobalCollections(array $collections): static
1046
1047
public function getGlobalCollections(): array
1048
{
1049
- return $this->globalCollections;
+ return \array_keys($this->globalCollections);
1050
}
1051
1052
0 commit comments