diff --git a/src/SqlQueryProviderModule.php b/src/SqlQueryProviderModule.php index 7b132fe..0cacd9e 100644 --- a/src/SqlQueryProviderModule.php +++ b/src/SqlQueryProviderModule.php @@ -23,8 +23,8 @@ protected function configure() { $this->bind(SqlFinder::class)->in(Scope::SINGLETON); $this->bind(ParamReaderInterface::class)->to(ParamReader::class)->in(Scope::SINGLETON); - $this->bind(RowInterface::class)->toProvider(RowInterfaceProvider::class)->in(Scope::SINGLETON); - $this->bind(RowListInterface::class)->toProvider(RowListInterfaceProvider::class)->in(Scope::SINGLETON); - $this->bind(InvokeInterface::class)->toProvider(RowListInterfaceProvider::class)->in(Scope::SINGLETON); + $this->bind(RowInterface::class)->toProvider(RowInterfaceProvider::class); + $this->bind(RowListInterface::class)->toProvider(RowListInterfaceProvider::class); + $this->bind(InvokeInterface::class)->toProvider(RowListInterfaceProvider::class); } }