Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2025-08-07 11:25:50 -04:00 committed by GitHub
parent 1097c3b201
commit 4ace7e4217
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,10 @@ class App {
* @param array $urlParams an array with variables extracted from the routes
* @since 6.0.0
*/
public function __construct(private string $appName, array $urlParams = []) {
public function __construct(
private string $appName,
array $urlParams = []
) {
$debugMode = Server::get(IConfig::class)->getSystemValueBool('debug');
$excludeArgsFromTraces = ini_get('zend.exception_ignore_args');
// Check if application class was setup incorrectly (and log it) when in debug mode