Skip to content

Commit 6de09ff

Browse files
committed
formatting
Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 1ba7212 commit 6de09ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Container/AdapterFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Laminas\Db\Adapter\Mysql\Container;
66

7+
use Laminas\Db\Adapter\AdapterInterface;
78
use Laminas\Db\Adapter\Driver\DriverInterface;
89
use Laminas\Db\Adapter\Mysql\Adapter;
910
use Laminas\Db\Adapter\Platform\PlatformInterface;
@@ -14,7 +15,7 @@
1415

1516
final class AdapterFactory
1617
{
17-
public function __invoke(ContainerInterface $container): Adapter
18+
public function __invoke(ContainerInterface $container): AdapterInterface
1819
{
1920
/** @var AdapterManager $adapterManager */
2021
$adapterManager = $container->get(AdapterManager::class);

src/Container/AdapterManagerDelegator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __invoke(
2727
$adapterManager = $callback();
2828
$adapterManager->configure([
2929
'aliases' => [
30-
Profiler\ProfilerInterface::class => Profiler\Profiler::class,
30+
Profiler\ProfilerInterface::class => Profiler\Profiler::class,
3131
ResultSet\ResultSetInterface::class => ResultSet\ResultSet::class,
3232
],
3333
'factories' => [
@@ -37,7 +37,7 @@ public function __invoke(
3737
PlatformInterface::class => PlatformInterfaceFactory::class,
3838
Profiler\Profiler::class => InvokableFactory::class,
3939
ResultInterface::class => ResultInterfaceFactory::class,
40-
ResultSet\ResultSet::class => InvokableFactory::class,
40+
ResultSet\ResultSet::class => InvokableFactory::class,
4141
],
4242
]);
4343

0 commit comments

Comments
 (0)