fix after change to php 7.4

This commit is contained in:
Dennis Eichhorn 2019-08-17 14:14:41 +02:00
parent f131ec3cbc
commit c733ffa0b2
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ WebApplication::installRequest($request, $response);
// Setup for api calls // Setup for api calls
$app = new class() extends ApplicationAbstract $app = new class() extends ApplicationAbstract
{ {
protected $appName = 'Api'; protected string $appName = 'Api';
}; };
$app->dbPool = new DatabasePool(); $app->dbPool = new DatabasePool();

View File

@ -187,7 +187,7 @@ WebApplication::installRequest($request, $response);
// Setup for api calls // Setup for api calls
$app = new class() extends ApplicationAbstract $app = new class() extends ApplicationAbstract
{ {
protected $appName = 'Api'; protected string $appName = 'Api';
}; };
$app->dbPool = new DatabasePool(); $app->dbPool = new DatabasePool();