mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-03-30 21:18:39 +00:00
fix after change to php 7.4
This commit is contained in:
parent
f131ec3cbc
commit
c733ffa0b2
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user