fix bug with Builder::addLoders() (#186)

This commit is contained in:
Tobias Nyholm 2025-12-16 07:48:00 +01:00 • committed by GitHub
commit 69cd04f752
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -449,7 +449,7 @@ final class Builder
public function addLoaders(iterable $loaders): self public function addLoaders(iterable $loaders): self
{ {
foreach ($loaders as $loader) { foreach ($loaders as $loader) {
$this->loaders = [$loader]; $this->loaders[] = $loader;
} }
return $this; return $this;