File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323use Liip \TestFixturesBundle \Event \PostFixtureSetupEvent ;
2424use Liip \TestFixturesBundle \LiipTestFixturesEvents ;
2525use Liip \TestFixturesBundle \Services \DatabaseToolCollection ;
26+ use Liip \TestFixturesBundle \Services \DatabaseTools \AbstractDatabaseTool ;
2627use Liip \TestFixturesBundle \Services \DatabaseTools \ORMSqliteDatabaseTool ;
2728use PHPUnit \Framework \Attributes \DataProvider ;
2829use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
@@ -79,6 +80,9 @@ public function testLoadFixturesForSecondEntityManager(): void
7980 );
8081 }
8182
83+ /**
84+ * @return iterable<array{0:string,1:string}>
85+ */
8286 public static function objectManagerNameViaEventDataProvider (): iterable
8387 {
8488 yield [self ::MAIN_ENTITY_MANAGER_NAME , self ::MAIN_CONNECTION_NAME ];
@@ -122,7 +126,7 @@ public static function getKernelClass(): string
122126 return AppConfigSqliteDifferentConnectionNameKernel::class;
123127 }
124128
125- private function getDatabaseTool (string $ omName ): ORMSqliteDatabaseTool
129+ private function getDatabaseTool (string $ omName ): AbstractDatabaseTool
126130 {
127131 $ testContainer = static ::getContainer ();
128132
You can’t perform that action at this time.
0 commit comments