소스 검색

fixed typo

Fabien Potencier 14 년 전
부모
커밋
46d8c4abeb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php

@@ -106,7 +106,7 @@ abstract class DoctrineCommand extends Command
         $connections = array();
         $ids = $this->container->getServiceIds();
         foreach ($ids as $id) {
-            preg_match('^doctrine\.dbal\.(.*)_connection$', $id, $matches);
+            preg_match('/^doctrine\.dbal\.(.*)_connection$/', $id, $matches);
             if ($matches) {
                 $name = $matches[1];
                 $connections[$name] = $this->container->get($id);