Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c15a7fe

Browse files
committed
CS
1 parent 3924bda commit c15a7fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function import($resource, $type = null, $ignoreErrors = false, $sourceRe
7979

8080
if (\is_string($resource) && \strlen($resource) !== $i = strcspn($resource, '*?{[')) {
8181
$excludePrefix = null;
82-
$exclude = (func_num_args() >= 5) ? \func_get_arg(4) : null;
82+
$exclude = (\func_num_args() >= 5) ? \func_get_arg(4) : null;
8383
$excludePatterns = (array) $exclude;
8484
$excludePaths = [];
8585
foreach ($excludePatterns as $excludePattern) {

src/Symfony/Component/Config/Tests/Loader/FileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function testImportWithSimpleGlob()
9696
public function testImportWithExclude()
9797
{
9898
$loader = new TestFileLoader(new FileLocator(__DIR__.'/../Fixtures'));
99-
$loadedFiles = $loader->import('Include/*', null, false, null, __DIR__.'/../Fixtures/Include/{ExcludeFile.txt}');
99+
$loadedFiles = $loader->import('Include/*', null, false, null, __DIR__.'/../Fixtures/Include/{ExcludeFile.txt}');
100100
$this->assertCount(2, $loadedFiles);
101101
$this->assertNotContains('ExcludeFile.txt', $loadedFiles);
102102
}

0 commit comments

Comments
 (0)