Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 8cf8cbe

Browse files
committed
CS: Apply ternary_to_null_coalescing fixer
1 parent d1eb905 commit 8cf8cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
return false;
3131
}
3232

33-
$script = isset($_ENV['APP_FRONT_CONTROLLER']) ? $_ENV['APP_FRONT_CONTROLLER'] : 'index.php';
33+
$script = $_ENV['APP_FRONT_CONTROLLER'] ?? 'index.php';
3434

3535
$_SERVER = array_merge($_SERVER, $_ENV);
3636
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].\DIRECTORY_SEPARATOR.$script;

0 commit comments

Comments
 (0)