Skip to content

Commit 7acc1d0

Browse files
authored
Merge pull request #93 from tyrsson/0.3.1-patch
Fix return type issue between SMv3 and SMv4
2 parents c780605 + 2ee273c commit 7acc1d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Container/AdapterAbstractServiceFactory.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace PhpDb\Container;
66

7-
use Laminas\ServiceManager\Factory\AbstractFactoryInterface;
87
use PhpDb\Adapter\Adapter;
98
use PhpDb\Adapter\AdapterInterface;
109
use PhpDb\ResultSet\ResultSetInterface;
@@ -17,7 +16,7 @@
1716
*
1817
* Allows configuring several database instances (such as writer and reader).
1918
*/
20-
class AdapterAbstractServiceFactory implements AbstractFactoryInterface
19+
class AdapterAbstractServiceFactory
2120
{
2221
/** @var array */
2322
protected $config;
@@ -49,7 +48,6 @@ public function __invoke(
4948
$driverInstance = $driverFactory::createFromConfig($container, $requestedName);
5049
$platformFactory = ($container->get(PlatformInterfaceFactoryFactoryInterface::class))();
5150

52-
//$config = $this->getConfig($container);
5351
return new Adapter(
5452
$driverInstance,
5553
$platformFactory::fromDriver($driverInstance),

0 commit comments

Comments
 (0)