Skip to content

Commit

Permalink
=Minor chnage: replaced function by method
Browse files Browse the repository at this point in the history
  • Loading branch information
bes89 committed Sep 10, 2012
1 parent 2e7e296 commit 3648abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Kernel.php
Expand Up @@ -232,7 +232,7 @@ public function isClassInActiveBundle($class)
public function getBundle($name, $first = true)
{
if (!isset($this->bundleMap[$name])) {
throw new \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() function of your %s.php file?', $name, get_class($this)));
throw new \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() method of your %s.php file?', $name, get_class($this)));
}

if (true === $first) {
Expand Down

0 comments on commit 3648abe

Please sign in to comment.