Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed typos

  • Loading branch information...
commit 570a10086079c01bb687f37b79492009899c0e2d 1 parent c660fcd
Fabien Potencier fabpot authored
2  src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php
@@ -169,7 +169,7 @@ protected function findBasePathForBundle($bundle)
169 169 $destination = str_replace('/'.$path, '', $search, $c);
170 170
171 171 if ($c != 1) {
172   - throw new \RuntimeException('Can\'t find base path for bundle (path: "$path", destination: "$destination").');
  172 + throw new \RuntimeException(sprintf('Can\'t find base path for bundle (path: "%s", destination: "%s").', $path, $destination));
173 173 }
174 174
175 175 return $destination;
2  src/Symfony/Bundle/DoctrineMongoDBBundle/Command/DoctrineODMCommand.php
@@ -113,7 +113,7 @@ protected function findBasePathForBundle($bundle)
113 113 $destination = str_replace('/'.$path, '', $search, $c);
114 114
115 115 if ($c != 1) {
116   - throw new \RuntimeException('Can\'t find base path for bundle (path: "$path", destination: "$destination").');
  116 + throw new \RuntimeException(sprintf('Can\'t find base path for bundle (path: "%s", destination: "%s").', $path, $destination));
117 117 }
118 118
119 119 return $destination;

0 comments on commit 570a100

Please sign in to comment.
Something went wrong with that request. Please try again.