Skip to content

Commit 69cd04f

Browse files
authored
fix bug with Builder::addLoders() (#186)
1 parent a1e0f61 commit 69cd04f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ public function addLoader(LoaderInterface $loader): self
449449
public function addLoaders(iterable $loaders): self
450450
{
451451
foreach ($loaders as $loader) {
452-
$this->loaders = [$loader];
452+
$this->loaders[] = $loader;
453453
}
454454

455455
return $this;

0 commit comments

Comments
 (0)