10000 Merge branch '3.4' into 4.0 · symfony/symfony@2f587c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f587c3

Browse files
Merge branch '3.4' into 4.0
* 3.4: fix merge
2 parents f2d54fe + 81dafca commit 2f587c3

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
@@ -70,7 +70,7 @@ public function getLocator()
7070
* @throws FileLoaderImportCircularReferenceException
7171
* @throws FileLocatorFileNotFoundException
7272
*/
73-
public function import($resource, $type = null, bool $ignoreErrors = false, $sourceResource = null)
73+
public function import($resource, $type = null, $ignoreErrors = false, $sourceResource = null)
7474
{
7575
if (is_string($resource) && strlen($resource) !== $i = strcspn($resource, '*?{[')) {
7676
$ret = array();

src/Symfony/Component/Routing/Tests/Matcher/RedirectableUrlMatcherTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function testSchemeRequirement()
113113
$coll = new RouteCollection();
114114
$coll->add('foo', new Route('/foo', array(), array(), array(), '', array('https')));
115115
$matcher = $this->getUrlMatcher($coll, new RequestContext());
116-
$matcher->expects($this->once())->method('redirect')->with('/foo', 'foo', 'https')->willReturn(array('_route' => 'foo'));
116+
$matcher->expects($this->once())->method('redirect')->with('/foo', 'foo', 'https')->willReturn(array());
117117
$this->assertSame(array('_route' => 'foo'), $matcher->match('/foo'));
118118
}
119119

0 commit comments

Comments
 (0)
0