8000 bug #21736 [Config] fixed glob file loader when there is an exception… · symfony/symfony@5d3561a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5d3561a

Browse files
committed
bug #21736 [Config] fixed glob file loader when there is an exception (fabpot)
This PR was merged into the 3.3-dev branch. Discussion ---------- [Config] fixed glob file loader when there is an exception | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Fixes a typo. When importing a glob, we definitely want to have errors like syntax errors in a YAML file. Commits ------- d1b6601 [Config] fixed glob file loader when there is an exception
2 parents 71fba96 + d1b6601 commit 5d3561a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Config/Loader/GlobFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GlobFileLoader extends FileLoader
2323
*/
2424
public function load($resource, $type = null)
2525
{
26-
return $this->import($resource, null, true);
26+
return $this->import($resource);
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)
0