Skip to content

Commit d0f06aa

Browse files
committed
Merge pull request #371 from D-BlindSide/patch-1
Improvement for backwards compatibility
2 parents dba2f4a + 499f710 commit d0f06aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DoctrineModule/ServiceFactory/AbstractDoctrineServiceFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private function getFactoryMapping(ServiceLocatorInterface $serviceLocator, $nam
6969
{
7070
$matches = array();
7171

72-
if (! preg_match('/^doctrine\.(?<serviceType>[a-z0-9_]+)\.(?<serviceName>[a-z0-9_]+)$/', $name, $matches)) {
72+
if (! preg_match('/^doctrine\.(?P<serviceType>[a-z0-9_]+)\.(?P<serviceName>[a-z0-9_]+)$/', $name, $matches)) {
7373
return false;
7474
}
7575

0 commit comments

Comments
 (0)