Skip to content

Commit 13faf04

Browse files
committed
[CS Fix] Consistent coding-style of concatenation operator usage
1 parent 2fd19a1 commit 13faf04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BinaryFileResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function prepare(Request $request)
183183
$pathPrefix = trim($mapping[1]);
184184

185185
if (substr($path, 0, strlen($pathPrefix)) == $pathPrefix) {
186-
$path = $location . substr($path, strlen($pathPrefix));
186+
$path = $location.substr($path, strlen($pathPrefix));
187187
break;
188188
}
189189
}

Tests/CookieTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,6 @@ public function testToString()
139139

140140
$cookie = new Cookie('foo', null, 1, '/admin/', '.myfoodomain.com');
141141

142-
$this->assertEquals('foo=deleted; expires=' . gmdate("D, d-M-Y H:i:s T", time()-31536001) . '; path=/admin/; domain=.myfoodomain.com; httponly', $cookie->__toString(), '->__toString() returns string representation of a cleared cookie if value is NULL');
142+
$this->assertEquals('foo=deleted; expires='.gmdate("D, d-M-Y H:i:s T", time()-31536001).'; path=/admin/; domain=.myfoodomain.com; httponly', $cookie->__toString(), '->__toString() returns string representation of a cleared cookie if value is NULL');
143143
}
144144
}

0 commit comments

Comments
 (0)