Skip to content

Commit aa5d8f5

Browse files
authored
Merge pull request #15 from thecodingmachine/fixed_return_types
Passing container from aggregate controller query provider to normal …
2 parents 49cdab2 + a9a3aaa commit aa5d8f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AggregateControllerQueryProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function getQueries(): array
8181

8282
foreach ($this->controllers as $controllerName) {
8383
$controller = $this->container->get($controllerName);
84-
$queryProvider = new ControllerQueryProvider($controller, $this->annotationReader, $this->typeMapper, $this->hydrator, $this->authenticationService, $this->authorizationService);
84+
$queryProvider = new ControllerQueryProvider($controller, $this->annotationReader, $this->typeMapper, $this->hydrator, $this->authenticationService, $this->authorizationService, $this->container);
8585
$queryList = array_merge($queryList, $queryProvider->getQueries());
8686
}
8787

@@ -97,7 +97,7 @@ public function getMutations(): array
9797

9898
foreach ($this->controllers as $controllerName) {
9999
$controller = $this->container->get($controllerName);
100-
$queryProvider = new ControllerQueryProvider($controller, $this->annotationReader, $this->typeMapper, $this->hydrator, $this->authenticationService, $this->authorizationService);
100+
$queryProvider = new ControllerQueryProvider($controller, $this->annotationReader, $this->typeMapper, $this->hydrator, $this->authenticationService, $this->authorizationService, $this->container);
101101
$mutationList = array_merge($mutationList, $queryProvider->getMutations());
102102
}
103103

0 commit comments

Comments
 (0)