Skip to content

Commit

Permalink
Fix incorrect handling of configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jun 24, 2024
1 parent 796877c commit 25082b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ composer.lock
cs_fixer_tmp*
phpunit.xml.bak
vendor/*
build/*
2 changes: 1 addition & 1 deletion src/MetaLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ public function writeMetadataSerialize(string $outputDir): void
*/
public function writeMetadataPdo(Configuration $globalConfig, array $config = []): void
{
$metaHandler = new Metadata\MetaDataStorageHandlerPdo($globalConfig, $config);
$metaHandler = new Metadata\MetaDataStorageHandlerPdo($globalConfig->toArray(), $config);

foreach ($this->metadata as $set => $elements) {
foreach ($elements as $m) {
Expand Down

0 comments on commit 25082b7

Please sign in to comment.