summaryrefslogtreecommitdiffstats
path: root/lib/private/Activity
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-07-21 18:03:17 +0200
committerRobin Appelman <robin@icewind.nl>2020-07-21 19:26:59 +0200
commit5eb1e75e243917047cdb4b122a54fcd6a6d510af (patch)
treefce0d247b6d45b0142ff9bf52f6f5f7724039149 /lib/private/Activity
parentaa051875f9588306c9636e3622518fab3e942f5e (diff)
downloadnextcloud-server-5eb1e75e243917047cdb4b122a54fcd6a6d510af.tar.gz
nextcloud-server-5eb1e75e243917047cdb4b122a54fcd6a6d510af.zip
build autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Activity')
-rw-r--r--lib/private/Activity/ActivitySettingsAdapter.php4
-rw-r--r--lib/private/Activity/Manager.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Activity/ActivitySettingsAdapter.php b/lib/private/Activity/ActivitySettingsAdapter.php
index f5544debd78..c49231bee2c 100644
--- a/lib/private/Activity/ActivitySettingsAdapter.php
+++ b/lib/private/Activity/ActivitySettingsAdapter.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2020 Robin Appelman <robin@icewind.nl>
*
diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php
index 6c40f752bc8..325f19bb7f1 100644
--- a/lib/private/Activity/Manager.php
+++ b/lib/private/Activity/Manager.php
@@ -273,7 +273,7 @@ class Manager implements IManager {
if ($setting instanceof ISetting) {
$setting = new ActivitySettingsAdapter($setting);
- } else if (!$setting instanceof ActivitySettings) {
+ } elseif (!$setting instanceof ActivitySettings) {
throw new \InvalidArgumentException('Invalid activity filter registered');
}