From c733ffa0b25f76efba9fb658e56e869657d784c3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 17 Aug 2019 14:14:41 +0200 Subject: [PATCH] fix after change to php 7.4 --- gdfSetup.php | 2 +- sdSetup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();