mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix return type of dataconst
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
897e3e7e6e
commit
df0f7b8d85
2 changed files with 5 additions and 21 deletions
|
|
@ -32,22 +32,6 @@
|
||||||
<code><![CDATA[file_get_contents(DataConst::GetBackupPublicKey())]]></code>
|
<code><![CDATA[file_get_contents(DataConst::GetBackupPublicKey())]]></code>
|
||||||
</PossiblyFalseArgument>
|
</PossiblyFalseArgument>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/Data/DataConst.php">
|
|
||||||
<FalsableReturnStatement>
|
|
||||||
<code><![CDATA[realpath(__DIR__ . '/../cool-seccomp-profile.json')]]></code>
|
|
||||||
<code><![CDATA[realpath(__DIR__ . '/../containers.json')]]></code>
|
|
||||||
<code><![CDATA[realpath(__DIR__ . '/../../../community-containers/')]]></code>
|
|
||||||
<code><![CDATA[realpath(__DIR__ . '/../../data/')]]></code>
|
|
||||||
<code><![CDATA[realpath(__DIR__ . '/../../session/')]]></code>
|
|
||||||
</FalsableReturnStatement>
|
|
||||||
<InvalidFalsableReturnType>
|
|
||||||
<code><![CDATA[string]]></code>
|
|
||||||
<code><![CDATA[string]]></code>
|
|
||||||
<code><![CDATA[string]]></code>
|
|
||||||
<code><![CDATA[string]]></code>
|
|
||||||
<code><![CDATA[string]]></code>
|
|
||||||
</InvalidFalsableReturnType>
|
|
||||||
</file>
|
|
||||||
<file src="src/Docker/DockerActionManager.php">
|
<file src="src/Docker/DockerActionManager.php">
|
||||||
<PossiblyFalseArgument>
|
<PossiblyFalseArgument>
|
||||||
<code><![CDATA[$line]]></code>
|
<code><![CDATA[$line]]></code>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ class DataConst {
|
||||||
return '/mnt/docker-aio-config/data/';
|
return '/mnt/docker-aio-config/data/';
|
||||||
}
|
}
|
||||||
|
|
||||||
return realpath(__DIR__ . '/../../data/');
|
return (string)realpath(__DIR__ . '/../../data/');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function GetSessionDirectory() : string {
|
public static function GetSessionDirectory() : string {
|
||||||
|
|
@ -16,7 +16,7 @@ class DataConst {
|
||||||
return '/mnt/docker-aio-config/session/';
|
return '/mnt/docker-aio-config/session/';
|
||||||
}
|
}
|
||||||
|
|
||||||
return realpath(__DIR__ . '/../../session/');
|
return (string)realpath(__DIR__ . '/../../session/');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function GetConfigFile() : string {
|
public static function GetConfigFile() : string {
|
||||||
|
|
@ -56,14 +56,14 @@ class DataConst {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function GetCommunityContainersDirectory() : string {
|
public static function GetCommunityContainersDirectory() : string {
|
||||||
return realpath(__DIR__ . '/../../../community-containers/');
|
return (string)realpath(__DIR__ . '/../../../community-containers/');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function GetCollaboraSeccompProfilePath() : string {
|
public static function GetCollaboraSeccompProfilePath() : string {
|
||||||
return realpath(__DIR__ . '/../cool-seccomp-profile.json');
|
return (string)realpath(__DIR__ . '/../cool-seccomp-profile.json');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function GetContainersDefinitionPath() : string {
|
public static function GetContainersDefinitionPath() : string {
|
||||||
return realpath(__DIR__ . '/../containers.json');
|
return (string)realpath(__DIR__ . '/../containers.json');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue