Skip to content

Commit 8a7df87

Browse files
Merge branch '7.1' into 7.2
* 7.1: initialize RedisAdapter cursor to 0 do not skip tests from data providers ensure compatibility with Twig 3.15 [Mime] fix encoding issue with UTF-8 addresses containing doubles spaces fix translation file syntax [Notifier] Improve Telegrams markdown escaping [Validator] [Choice] Fix callback option if not array returned [DependencyInjection] Fix linting factories implemented via __callStatic [DependencyInjection] Fix replacing abstract arguments with bindings [DependencyInjection] Fix parsing nested AutowireInline attributes Minor fixes around parse_url() checks Ensure compatibility with mongodb v2 Add missing translations for Turkish (tr)
2 parents 70a802f + 1d616d7 commit 8a7df87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/RedirectController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function redirectAction(Request $request, string $route, bool $permanent
105105
*/
106106
public function urlRedirectAction(Request $request, string $path, bool $permanent = false, ?string $scheme = null, ?int $httpPort = null, ?int $httpsPort = null, bool $keepRequestMethod = false): Response
107107
{
108-
if ('' == $path) {
108+
if ('' === $path) {
109109
throw new HttpException($permanent ? 410 : 404);
110110
}
111111

0 commit comments

Comments
 (0)