File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 44
55namespace Laminas \Db \Adapter \Mysql \Container ;
66
7+ use Laminas \Db \Adapter \AdapterInterface ;
78use Laminas \Db \Adapter \Driver \DriverInterface ;
89use Laminas \Db \Adapter \Mysql \Adapter ;
910use Laminas \Db \Adapter \Platform \PlatformInterface ;
1415
1516final 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);
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments