mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-11 01:13:41 +08:00
fix all places
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
b9c57dc8d9
commit
3c91fa84e3
4 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ use AIO\Data\DataConst;
|
|||
use \DateTime;
|
||||
|
||||
class AuthManager {
|
||||
private const SESSION_KEY = 'aio_authenticated';
|
||||
private const string SESSION_KEY = 'aio_authenticated';
|
||||
private ConfigurationManager $configurationManager;
|
||||
|
||||
public function __construct(ConfigurationManager $configurationManager) {
|
||||
|
|
|
@ -13,7 +13,7 @@ class DockerController
|
|||
{
|
||||
private DockerActionManager $dockerActionManager;
|
||||
private ContainerDefinitionFetcher $containerDefinitionFetcher;
|
||||
private const TOP_CONTAINER = 'nextcloud-aio-apache';
|
||||
private const string TOP_CONTAINER = 'nextcloud-aio-apache';
|
||||
private ConfigurationManager $configurationManager;
|
||||
|
||||
public function __construct(
|
||||
|
|
|
@ -305,7 +305,7 @@ class ConfigurationManager
|
|||
|
||||
if (empty($dnsRecordIP)) {
|
||||
$record = dns_get_record($domain, DNS_AAAA);
|
||||
if (!empty($record[0]['ipv6'])) {
|
||||
if (isset($record[0]['ipv6']) && !empty($record[0]['ipv6'])) {
|
||||
$dnsRecordIP = $record[0]['ipv6'];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ use http\Env\Response;
|
|||
|
||||
class DockerActionManager
|
||||
{
|
||||
private const API_VERSION = 'v1.41';
|
||||
private const string API_VERSION = 'v1.41';
|
||||
private \GuzzleHttp\Client $guzzleClient;
|
||||
private ConfigurationManager $configurationManager;
|
||||
private ContainerDefinitionFetcher $containerDefinitionFetcher;
|
||||
|
|
Loading…
Reference in a new issue