mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-05-24 21:08:40 +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
|
// 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();
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user