We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db0214 commit c86ccb4Copy full SHA for c86ccb4
src/Codeception/Module/Symfony.php
@@ -1290,14 +1290,14 @@ public function grabRepository($mixed)
1290
return $repo;
1291
};
1292
1293
- if (interface_exists($mixed)) {
1294
- return $getRepo();
1295
- }
1296
-
1297
if (is_object($mixed)) {
1298
$mixed = get_class($mixed);
1299
}
1300
+ if (interface_exists($mixed)) {
+ return $getRepo();
+ }
+
1301
if (!is_string($mixed) || !class_exists($mixed) ) {
1302
$isNotARepo();
1303
return null;
0 commit comments