Skip to content

Commit

Permalink
add required constructor param
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-rose committed May 4, 2018
1 parent a569bf7 commit bad3f77
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public function createStockApi()
$this->createEntityMapper(),
$this->createTransferMapper(),
$this->getStockFacade(),
$this->getProductFacade(),
$this->getQueryContainer()
);
}
Expand Down Expand Up @@ -95,6 +96,6 @@ protected function getQueryContainer()
*/
protected function getProductFacade()
{
return $this->getProvidedDependency(StockApiDependencyProvider::FACADE_STOCK);
return $this->getProvidedDependency(StockApiDependencyProvider::FACADE_PRODUCT);
}
}

0 comments on commit bad3f77

Please sign in to comment.