diff options
author | Joas Schilling <coding@schilljs.com> | 2023-06-23 09:14:34 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-06-23 09:14:34 +0200 |
commit | 19a0425aeb657067c0b2c037e43bbf4c49d6f488 (patch) | |
tree | cf6ba3fb8f81c05321dd3a4ebda9916e09f3a310 /lib | |
parent | 82bb7a8a2acc0bf44f4f8b02a7a26d5a3a66361a (diff) | |
download | nextcloud-server-19a0425aeb657067c0b2c037e43bbf4c49d6f488.tar.gz nextcloud-server-19a0425aeb657067c0b2c037e43bbf4c49d6f488.zip |
fix(eventdispatcher): Don't use all evaluating "or"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/EventDispatcher/EventDispatcher.php | 2 |
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); } } |