summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-17 17:16:50 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-17 17:46:57 +0200
commitd7f66c36acef9334e3c9ecf750cae5bfc2f206d8 (patch)
tree4896ad25898411bfd2268b188743bf6bf3d5fd31 /lib/private/legacy
parent00cb8e6c54d8f2a26c5770fef5fe4ae1e366d0ce (diff)
downloadnextcloud-server-d7f66c36acef9334e3c9ecf750cae5bfc2f206d8.tar.gz
nextcloud-server-d7f66c36acef9334e3c9ecf750cae5bfc2f206d8.zip
Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Util.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index fd55962447e..0be615a8e1d 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -555,16 +555,16 @@ class OC_Util {
$timestamp = filemtime(OC::$SERVERROOT . '/version.php');
require OC::$SERVERROOT . '/version.php';
- /** @var $timestamp int */
+ /** @var int $timestamp */
self::$versionCache['OC_Version_Timestamp'] = $timestamp;
- /** @var $OC_Version string */
+ /** @var string $OC_Version */
self::$versionCache['OC_Version'] = $OC_Version;
- /** @var $OC_VersionString string */
+ /** @var string $OC_VersionString */
self::$versionCache['OC_VersionString'] = $OC_VersionString;
- /** @var $OC_Build string */
+ /** @var string $OC_Build */
self::$versionCache['OC_Build'] = $OC_Build;
- /** @var $OC_Channel string */
+ /** @var string $OC_Channel */
self::$versionCache['OC_Channel'] = $OC_Channel;
}