Skip to content

Commit e3f4c93

Browse files
committed
Stan
1 parent 70d7ac0 commit e3f4c93

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Database/Database.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,10 @@ class Database
352352
/**
353353
* List of collections that should be treated as globally accessible
354354
*
355-
* @var array<string>
355+
* @var array<string, bool>
356356
*/
357357
protected array $globalCollections = [
358-
self::METADATA,
358+
self::METADATA => true
359359
];
360360

361361
/**
@@ -1046,7 +1046,7 @@ public function setGlobalCollections(array $collections): static
10461046
*/
10471047
public function getGlobalCollections(): array
10481048
{
1049-
return $this->globalCollections;
1049+
return \array_keys($this->globalCollections);
10501050
}
10511051

10521052
/**

0 commit comments

Comments
 (0)