8000 fixed typos · lidaa/symfony@570a100 · GitHub
[go: up one dir, main page]

Skip to content

Commit 570a100

Browse files
committed
fixed typos
1 parent c660fcd commit 570a100

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ protected function findBasePathForBundle($bundle)
169169
$destination = str_replace('/'.$path, '', $search, $c);
170170

171171
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));
173173
}
174174

175175
return $destination;

src/Symfony/Bundle/DoctrineMongoDBBundle/Command/DoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected function findBasePathForBundle($bundle)
113113
$destination = str_replace('/'.$path, '', $search, $c);
114114

115115
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));
117117
}
118118

119119
return $destination;

0 commit comments

Comments
 (0)
0