Skip to content
Snippets Groups Projects

Issue #3283735: Workspace config: Wrong array concatenation in listAll() and getAllCollectionNames() of storage

Merged Issue #3283735: Workspace config: Wrong array concatenation in listAll() and getAllCollectionNames() of storage
Merged s_leu requested to merge issue/wse-3283735:3283735-wrong-listall-collection into 1.0.x
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -283,7 +283,7 @@ class WseConfigDatabaseStorage implements StorageInterface {
// Add configs which were not saved into wse_config entities yet or that
// are ignored from the inner storage.
$configs += $this->inner->listAll($prefix);
$configs = array_merge($this->inner->listAll($prefix), $configs);
return $configs;
}
catch (\Exception $e) {
@@ -366,7 +366,7 @@ class WseConfigDatabaseStorage implements StorageInterface {
}
}
$collections += $this->inner->getAllCollectionNames();
$collections = array_merge($this->inner->getAllCollectionNames(), $collections);
return $collections;
}
catch (\Exception $e) {
Loading