diff --git a/php/psalm-baseline.xml b/php/psalm-baseline.xml
index ff78305b..662afd35 100644
--- a/php/psalm-baseline.xml
+++ b/php/psalm-baseline.xml
@@ -32,22 +32,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/php/src/Data/DataConst.php b/php/src/Data/DataConst.php
index 1db2f6ae..099079c6 100644
--- a/php/src/Data/DataConst.php
+++ b/php/src/Data/DataConst.php
@@ -8,7 +8,7 @@ class DataConst {
return '/mnt/docker-aio-config/data/';
}
- return realpath(__DIR__ . '/../../data/');
+ return (string)realpath(__DIR__ . '/../../data/');
}
public static function GetSessionDirectory() : string {
@@ -16,7 +16,7 @@ class DataConst {
return '/mnt/docker-aio-config/session/';
}
- return realpath(__DIR__ . '/../../session/');
+ return (string)realpath(__DIR__ . '/../../session/');
}
public static function GetConfigFile() : string {
@@ -56,14 +56,14 @@ class DataConst {
}
public static function GetCommunityContainersDirectory() : string {
- return realpath(__DIR__ . '/../../../community-containers/');
+ return (string)realpath(__DIR__ . '/../../../community-containers/');
}
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 {
- return realpath(__DIR__ . '/../containers.json');
+ return (string)realpath(__DIR__ . '/../containers.json');
}
}