diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Collaboration/Resources/Manager.php | 2 | ||||
-rw-r--r-- | lib/private/Migration/BackgroundRepair.php | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php index bfe95a74514..fe5af94ab07 100644 --- a/lib/private/Collaboration/Resources/Manager.php +++ b/lib/private/Collaboration/Resources/Manager.php @@ -411,7 +411,7 @@ class Manager implements IManager { 'user_id' => $query->createNamedParameter($userId), 'resource_id' => $query->createNamedParameter($resource->getId()), 'resource_type' => $query->createNamedParameter($resource->getType()), - 'access' => $query->createNamedParameter($access), + 'access' => $query->createNamedParameter($access, IQueryBuilder::PARAM_BOOL), ]); try { $query->execute(); diff --git a/lib/private/Migration/BackgroundRepair.php b/lib/private/Migration/BackgroundRepair.php index a873d23e7b2..7ef90301cf3 100644 --- a/lib/private/Migration/BackgroundRepair.php +++ b/lib/private/Migration/BackgroundRepair.php @@ -47,10 +47,7 @@ class BackgroundRepair extends TimedJob { /** @var EventDispatcherInterface */ private $dispatcher; - /** - * @param EventDispatcherInterface $dispatcher - */ - public function setDispatcher(EventDispatcherInterface $dispatcher): void { + public function __construct(EventDispatcherInterface $dispatcher) { $this->dispatcher = $dispatcher; } |