Skip to content

Commit

Permalink
Merge pull request #371 from D-BlindSide/patch-1
Browse files Browse the repository at this point in the history
Improvement for backwards compatibility
  • Loading branch information
Ocramius committed Jan 22, 2014
2 parents dba2f4a + 499f710 commit d0f06aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private function getFactoryMapping(ServiceLocatorInterface $serviceLocator, $nam
{
$matches = array();

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

Expand Down

0 comments on commit d0f06aa

Please sign in to comment.