Skip to content

Commit 87065dc

Browse files
committed
merged branch besnikb/2.0 (PR symfony#5482)
Commits ------- 3648abe =Minor chnage: replaced function by method Discussion ---------- =Minor chnage: replaced function by method
2 parents 2e7e296 + 3648abe commit 87065dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public function isClassInActiveBundle($class)
232232
public function getBundle($name, $first = true)
233233
{
234234
if (!isset($this->bundleMap[$name])) {
235-
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)));
235+
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)));
236236
}
237237

238238
if (true === $first) {

0 commit comments

Comments
 (0)