Fix php cs warnings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-11-06 15:39:21 +01:00
parent 054363ccc4
commit 229bc871cb
2 changed files with 1 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ class NotificationHelper {
if ($user->getUID() === $board->getOwner() && count($board->getAcl()) === 0) { if ($user->getUID() === $board->getOwner() && count($board->getAcl()) === 0) {
// Notify if all or assigned is configured for unshared boards // Notify if all or assigned is configured for unshared boards
$shouldNotify = true; $shouldNotify = true;
} else if ($notificationSetting === ConfigService::SETTING_BOARD_NOTIFICATION_DUE_ASSIGNED && $this->assignedUsersMapper->isUserAssigned($card->getId(), $user->getUID())) { } elseif ($notificationSetting === ConfigService::SETTING_BOARD_NOTIFICATION_DUE_ASSIGNED && $this->assignedUsersMapper->isUserAssigned($card->getId(), $user->getUID())) {
// Notify if the user is assigned and has the assigned setting selected // Notify if the user is assigned and has the assigned setting selected
$shouldNotify = true; $shouldNotify = true;
} }

View File

@@ -42,7 +42,6 @@ use OCP\Notification\INotification;
use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\MockObject\MockObject;
class DummyUser extends \OC\User\User { class DummyUser extends \OC\User\User {
private $uid; private $uid;
public function __construct($uid) { public function __construct($uid) {