Skip to content

Commit

Permalink
Minification of metadata: exports only effective aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 26, 2019
1 parent 6e3e03e commit 0ffdb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DI/ContainerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function exportMeta(): array
}
}

$meta['aliases'] = $this->aliases;
$meta['aliases'] = array_intersect($this->aliases, array_keys($defs));
ksort($meta['aliases']);

$all = [];
Expand Down

0 comments on commit 0ffdb4e

Please sign in to comment.