aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-07-05 14:40:10 +0200
committerGitHub <noreply@github.com>2023-07-05 14:40:10 +0200
commit75a15dcfe4cf8a74a5e6fa170ad28d6176d1e34d (patch)
treeea7247b9d375078c4435bac37236aa9a483bd0de /lib
parent247193f912ba1bcc09ab605f50d996fec2e88a86 (diff)
parent19a0425aeb657067c0b2c037e43bbf4c49d6f488 (diff)
downloadnextcloud-server-75a15dcfe4cf8a74a5e6fa170ad28d6176d1e34d.tar.gz
nextcloud-server-75a15dcfe4cf8a74a5e6fa170ad28d6176d1e34d.zip
Merge pull request #38955 from nextcloud/bugfix/noid/dont-use-or
fix(eventdispatcher): Don't use all evaluating "or"
Diffstat (limited to 'lib')
-rw-r--r--lib/private/EventDispatcher/EventDispatcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/EventDispatcher/EventDispatcher.php b/lib/private/EventDispatcher/EventDispatcher.php
index d64ad88be7e..88c6b2cf32c 100644
--- a/lib/private/EventDispatcher/EventDispatcher.php
+++ b/lib/private/EventDispatcher/EventDispatcher.php
@@ -58,7 +58,7 @@ class EventDispatcher implements IEventDispatcher {
// inject the event dispatcher into the logger
// this is done here because there is a cyclic dependency between the event dispatcher and logger
- if ($this->logger instanceof Log or $this->logger instanceof Log\PsrLoggerAdapter) {
+ if ($this->logger instanceof Log || $this->logger instanceof Log\PsrLoggerAdapter) {
$this->logger->setEventDispatcher($this);
}
}