Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-04-26 13:33:36 +0300
committerJ0WI <J0WI@users.noreply.github.com>2021-04-26 13:33:45 +0300
commitefc5c57a79a5bad9b91135a436c1eca717082968 (patch)
treed1f1f1192228ecdc9e1d7b69f50cd53eb067f7ff /lib/autoloader.php
parent8f3a0705d46c1c196521cdb33c75acf92ea05026 (diff)
Some more strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index cf25f4498a8..b37e20c2379 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -68,7 +68,7 @@ class Autoloader {
*
* @param string $root
*/
- public function addValidRoot(string $root) {
+ public function addValidRoot(string $root): void {
$root = stream_resolve_include_path($root);
$this->validRoots[$root] = true;
}
@@ -76,14 +76,14 @@ class Autoloader {
/**
* disable the usage of the global classpath \OC::$CLASSPATH
*/
- public function disableGlobalClassPath() {
+ public function disableGlobalClassPath(): void {
$this->useGlobalClassPath = false;
}
/**
* enable the usage of the global classpath \OC::$CLASSPATH
*/
- public function enableGlobalClassPath() {
+ public function enableGlobalClassPath(): void {
$this->useGlobalClassPath = true;
}
@@ -184,7 +184,7 @@ class Autoloader {
*
* @param \OC\Memcache\Cache $memoryCache Instance of memory cache.
*/
- public function setMemoryCache(\OC\Memcache\Cache $memoryCache = null) {
+ public function setMemoryCache(\OC\Memcache\Cache $memoryCache = null): void {
$this->memoryCache = $memoryCache;
}
}