aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contactsinteraction/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-11-23 10:22:34 +0100
committerBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2023-11-23 10:36:13 +0100
commitaa5f037af71c915424c6dcfd5ad2dc82797dc0d6 (patch)
tree843203cd1346158aab3515687e37a90e78c929e9 /apps/contactsinteraction/lib
parent272719ed1cba6836ea0a597bb9767754eeb1e0d4 (diff)
downloadnextcloud-server-aa5f037af71c915424c6dcfd5ad2dc82797dc0d6.tar.gz
nextcloud-server-aa5f037af71c915424c6dcfd5ad2dc82797dc0d6.zip
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'apps/contactsinteraction/lib')
-rw-r--r--apps/contactsinteraction/lib/Db/CardSearchDao.php6
-rw-r--r--apps/contactsinteraction/lib/Db/RecentContactMapper.php6
-rw-r--r--apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php2
3 files changed, 6 insertions, 8 deletions
diff --git a/apps/contactsinteraction/lib/Db/CardSearchDao.php b/apps/contactsinteraction/lib/Db/CardSearchDao.php
index 6bd6538257c..7fd8cb2ab3c 100644
--- a/apps/contactsinteraction/lib/Db/CardSearchDao.php
+++ b/apps/contactsinteraction/lib/Db/CardSearchDao.php
@@ -39,9 +39,9 @@ class CardSearchDao {
}
public function findExisting(IUser $user,
- ?string $uid,
- ?string $email,
- ?string $cloudId): ?string {
+ ?string $uid,
+ ?string $email,
+ ?string $cloudId): ?string {
$addressbooksQuery = $this->db->getQueryBuilder();
$cardQuery = $this->db->getQueryBuilder();
$propQuery = $this->db->getQueryBuilder();
diff --git a/apps/contactsinteraction/lib/Db/RecentContactMapper.php b/apps/contactsinteraction/lib/Db/RecentContactMapper.php
index 49a705af570..257c888e818 100644
--- a/apps/contactsinteraction/lib/Db/RecentContactMapper.php
+++ b/apps/contactsinteraction/lib/Db/RecentContactMapper.php
@@ -74,9 +74,9 @@ class RecentContactMapper extends QBMapper {
* @return RecentContact[]
*/
public function findMatch(IUser $user,
- ?string $uid,
- ?string $email,
- ?string $cloudId): array {
+ ?string $uid,
+ ?string $email,
+ ?string $cloudId): array {
$qb = $this->db->getQueryBuilder();
$or = $qb->expr()->orX();
diff --git a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php
index 499a9f28ca5..58be052d2f3 100644
--- a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php
+++ b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php
@@ -38,9 +38,7 @@ use OCP\IL10N;
use OCP\IUserManager;
use Psr\Log\LoggerInterface;
use Sabre\VObject\Component\VCard;
-use Sabre\VObject\Reader;
use Sabre\VObject\UUIDUtil;
-use Throwable;
class ContactInteractionListener implements IEventListener {