diff --git a/gdfSetup.php b/gdfSetup.php index e8ff0bd..62e23d0 100644 --- a/gdfSetup.php +++ b/gdfSetup.php @@ -177,7 +177,7 @@ WebApplication::installRequest($request, $response); // Setup for api calls $app = new class() extends ApplicationAbstract { - protected $appName = 'Api'; + protected string $appName = 'Api'; }; $app->dbPool = new DatabasePool(); diff --git a/sdSetup.php b/sdSetup.php index 940ecc2..ec5abe3 100644 --- a/sdSetup.php +++ b/sdSetup.php @@ -187,7 +187,7 @@ WebApplication::installRequest($request, $response); // Setup for api calls $app = new class() extends ApplicationAbstract { - protected $appName = 'Api'; + protected string $appName = 'Api'; }; $app->dbPool = new DatabasePool();