Passed
Push — master ( a1ed1d...263a69 )
by John
16:05 queued 13s
created
apps/settings/lib/Sections/Personal/SyncClients.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class SyncClients implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon() {
45
-		return $this->urlGenerator->imagePath('core', 'clients/phone.svg');
46
-	}
44
+    public function getIcon() {
45
+        return $this->urlGenerator->imagePath('core', 'clients/phone.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'sync-clients';
50
-	}
48
+    public function getID(): string {
49
+        return 'sync-clients';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Mobile & desktop');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Mobile & desktop');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 15;
58
-	}
56
+    public function getPriority(): int {
57
+        return 15;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Personal/Security.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class Security implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon() {
45
-		return $this->urlGenerator->imagePath('settings', 'password.svg');
46
-	}
44
+    public function getIcon() {
45
+        return $this->urlGenerator->imagePath('settings', 'password.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'security';
50
-	}
48
+    public function getID(): string {
49
+        return 'security';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Security');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Security');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 5;
58
-	}
56
+    public function getPriority(): int {
57
+        return 5;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Personal/PersonalInfo.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class PersonalInfo implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon() {
45
-		return $this->urlGenerator->imagePath('core', 'actions/user.svg');
46
-	}
44
+    public function getIcon() {
45
+        return $this->urlGenerator->imagePath('core', 'actions/user.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'personal-info';
50
-	}
48
+    public function getID(): string {
49
+        return 'personal-info';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Personal info');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Personal info');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 0;
58
-	}
56
+    public function getPriority(): int {
57
+        return 0;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Settings/Personal/Security/Password.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -34,35 +34,35 @@
 block discarded – undo
34 34
 
35 35
 class Password implements ISettings {
36 36
 
37
-	/** @var IUserManager */
38
-	private $userManager;
37
+    /** @var IUserManager */
38
+    private $userManager;
39 39
 
40
-	/** @var string|null */
41
-	private $uid;
40
+    /** @var string|null */
41
+    private $uid;
42 42
 
43
-	public function __construct(IUserManager $userManager,
44
-								?string $UserId) {
45
-		$this->userManager = $userManager;
46
-		$this->uid = $UserId;
47
-	}
43
+    public function __construct(IUserManager $userManager,
44
+                                ?string $UserId) {
45
+        $this->userManager = $userManager;
46
+        $this->uid = $UserId;
47
+    }
48 48
 
49
-	public function getForm(): TemplateResponse {
50
-		$user = $this->userManager->get($this->uid);
51
-		$passwordChangeSupported = false;
52
-		if ($user !== null) {
53
-			$passwordChangeSupported = $user->canChangePassword();
54
-		}
49
+    public function getForm(): TemplateResponse {
50
+        $user = $this->userManager->get($this->uid);
51
+        $passwordChangeSupported = false;
52
+        if ($user !== null) {
53
+            $passwordChangeSupported = $user->canChangePassword();
54
+        }
55 55
 
56
-		return new TemplateResponse('settings', 'settings/personal/security/password', [
57
-			'passwordChangeSupported' => $passwordChangeSupported,
58
-		]);
59
-	}
56
+        return new TemplateResponse('settings', 'settings/personal/security/password', [
57
+            'passwordChangeSupported' => $passwordChangeSupported,
58
+        ]);
59
+    }
60 60
 
61
-	public function getSection(): string {
62
-		return 'security';
63
-	}
61
+    public function getSection(): string {
62
+        return 'security';
63
+    }
64 64
 
65
-	public function getPriority(): int {
66
-		return 10;
67
-	}
65
+    public function getPriority(): int {
66
+        return 10;
67
+    }
68 68
 }
Please login to merge, or discard this patch.
lib/private/DB/SetTransactionIsolationLevel.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -32,15 +32,15 @@
 block discarded – undo
32 32
 use Doctrine\DBAL\TransactionIsolationLevel;
33 33
 
34 34
 class SetTransactionIsolationLevel implements EventSubscriber {
35
-	/**
36
-	 * @param ConnectionEventArgs $args
37
-	 * @return void
38
-	 */
39
-	public function postConnect(ConnectionEventArgs $args) {
40
-		$args->getConnection()->setTransactionIsolation(TransactionIsolationLevel::READ_COMMITTED);
41
-	}
35
+    /**
36
+     * @param ConnectionEventArgs $args
37
+     * @return void
38
+     */
39
+    public function postConnect(ConnectionEventArgs $args) {
40
+        $args->getConnection()->setTransactionIsolation(TransactionIsolationLevel::READ_COMMITTED);
41
+    }
42 42
 
43
-	public function getSubscribedEvents() {
44
-		return [Events::postConnect];
45
-	}
43
+    public function getSubscribedEvents() {
44
+        return [Events::postConnect];
45
+    }
46 46
 }
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Integration/ICalendarProvider.php 1 patch
Indentation   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -32,42 +32,42 @@
 block discarded – undo
32 32
  */
33 33
 interface ICalendarProvider {
34 34
 
35
-	/**
36
-	 * Provides the appId of the plugin
37
-	 *
38
-	 * @since 19.0.0
39
-	 * @return string AppId
40
-	 */
41
-	public function getAppId(): string;
35
+    /**
36
+     * Provides the appId of the plugin
37
+     *
38
+     * @since 19.0.0
39
+     * @return string AppId
40
+     */
41
+    public function getAppId(): string;
42 42
 
43
-	/**
44
-	 * Fetches all calendars for a given principal uri
45
-	 *
46
-	 * @since 19.0.0
47
-	 * @param string $principalUri E.g. principals/users/user1
48
-	 * @return ExternalCalendar[] Array of all calendars
49
-	 */
50
-	public function fetchAllForCalendarHome(string $principalUri): array;
43
+    /**
44
+     * Fetches all calendars for a given principal uri
45
+     *
46
+     * @since 19.0.0
47
+     * @param string $principalUri E.g. principals/users/user1
48
+     * @return ExternalCalendar[] Array of all calendars
49
+     */
50
+    public function fetchAllForCalendarHome(string $principalUri): array;
51 51
 
52
-	/**
53
-	 * Checks whether plugin has a calendar for a given principalUri and calendarUri
54
-	 *
55
-	 * @since 19.0.0
56
-	 * @param string $principalUri E.g. principals/users/user1
57
-	 * @param string $calendarUri E.g. personal
58
-	 * @return bool True if calendar for principalUri and calendarUri exists, false otherwise
59
-	 */
60
-	public function hasCalendarInCalendarHome(string $principalUri, string $calendarUri): bool;
52
+    /**
53
+     * Checks whether plugin has a calendar for a given principalUri and calendarUri
54
+     *
55
+     * @since 19.0.0
56
+     * @param string $principalUri E.g. principals/users/user1
57
+     * @param string $calendarUri E.g. personal
58
+     * @return bool True if calendar for principalUri and calendarUri exists, false otherwise
59
+     */
60
+    public function hasCalendarInCalendarHome(string $principalUri, string $calendarUri): bool;
61 61
 
62
-	/**
63
-	 * Fetches a calendar for a given principalUri and calendarUri
64
-	 * Returns null if calendar does not exist
65
-	 *
66
-	 * @since 19.0.0
67
-	 * @param string $principalUri E.g. principals/users/user1
68
-	 * @param string $calendarUri E.g. personal
69
-	 * @return ExternalCalendar|null Calendar if it exists, null otherwise
70
-	 */
71
-	public function getCalendarInCalendarHome(string $principalUri, string $calendarUri): ?ExternalCalendar;
62
+    /**
63
+     * Fetches a calendar for a given principalUri and calendarUri
64
+     * Returns null if calendar does not exist
65
+     *
66
+     * @since 19.0.0
67
+     * @param string $principalUri E.g. principals/users/user1
68
+     * @param string $calendarUri E.g. personal
69
+     * @return ExternalCalendar|null Calendar if it exists, null otherwise
70
+     */
71
+    public function getCalendarInCalendarHome(string $principalUri, string $calendarUri): ?ExternalCalendar;
72 72
 
73 73
 }
Please login to merge, or discard this patch.
apps/oauth2/lib/Controller/LoginRedirectorController.php 1 patch
Indentation   +63 added lines, -63 removed lines patch added patch discarded remove patch
@@ -39,72 +39,72 @@
 block discarded – undo
39 39
 use OCP\IURLGenerator;
40 40
 
41 41
 class LoginRedirectorController extends Controller {
42
-	/** @var IURLGenerator */
43
-	private $urlGenerator;
44
-	/** @var ClientMapper */
45
-	private $clientMapper;
46
-	/** @var ISession */
47
-	private $session;
48
-	/** @var IL10N */
49
-	private $l;
42
+    /** @var IURLGenerator */
43
+    private $urlGenerator;
44
+    /** @var ClientMapper */
45
+    private $clientMapper;
46
+    /** @var ISession */
47
+    private $session;
48
+    /** @var IL10N */
49
+    private $l;
50 50
 
51
-	/**
52
-	 * @param string $appName
53
-	 * @param IRequest $request
54
-	 * @param IURLGenerator $urlGenerator
55
-	 * @param ClientMapper $clientMapper
56
-	 * @param ISession $session
57
-	 * @param IL10N $l
58
-	 */
59
-	public function __construct(string $appName,
60
-								IRequest $request,
61
-								IURLGenerator $urlGenerator,
62
-								ClientMapper $clientMapper,
63
-								ISession $session,
64
-								IL10N $l) {
65
-		parent::__construct($appName, $request);
66
-		$this->urlGenerator = $urlGenerator;
67
-		$this->clientMapper = $clientMapper;
68
-		$this->session = $session;
69
-		$this->l = $l;
70
-	}
51
+    /**
52
+     * @param string $appName
53
+     * @param IRequest $request
54
+     * @param IURLGenerator $urlGenerator
55
+     * @param ClientMapper $clientMapper
56
+     * @param ISession $session
57
+     * @param IL10N $l
58
+     */
59
+    public function __construct(string $appName,
60
+                                IRequest $request,
61
+                                IURLGenerator $urlGenerator,
62
+                                ClientMapper $clientMapper,
63
+                                ISession $session,
64
+                                IL10N $l) {
65
+        parent::__construct($appName, $request);
66
+        $this->urlGenerator = $urlGenerator;
67
+        $this->clientMapper = $clientMapper;
68
+        $this->session = $session;
69
+        $this->l = $l;
70
+    }
71 71
 
72
-	/**
73
-	 * @PublicPage
74
-	 * @NoCSRFRequired
75
-	 * @UseSession
76
-	 *
77
-	 * @param string $client_id
78
-	 * @param string $state
79
-	 * @param string $response_type
80
-	 * @return Response
81
-	 */
82
-	public function authorize($client_id,
83
-							  $state,
84
-							  $response_type): Response {
85
-		try {
86
-			$client = $this->clientMapper->getByIdentifier($client_id);
87
-		} catch (ClientNotFoundException $e) {
88
-			$params = [
89
-				'content' => $this->l->t('Your client is not authorized to connect. Please inform the administrator of your client.'),
90
-			];
91
-			return new TemplateResponse('core', '404', $params, 'guest');
92
-		}
72
+    /**
73
+     * @PublicPage
74
+     * @NoCSRFRequired
75
+     * @UseSession
76
+     *
77
+     * @param string $client_id
78
+     * @param string $state
79
+     * @param string $response_type
80
+     * @return Response
81
+     */
82
+    public function authorize($client_id,
83
+                                $state,
84
+                                $response_type): Response {
85
+        try {
86
+            $client = $this->clientMapper->getByIdentifier($client_id);
87
+        } catch (ClientNotFoundException $e) {
88
+            $params = [
89
+                'content' => $this->l->t('Your client is not authorized to connect. Please inform the administrator of your client.'),
90
+            ];
91
+            return new TemplateResponse('core', '404', $params, 'guest');
92
+        }
93 93
 
94
-		if ($response_type !== 'code') {
95
-			//Fail
96
-			$url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . $state;
97
-			return new RedirectResponse($url);
98
-		}
94
+        if ($response_type !== 'code') {
95
+            //Fail
96
+            $url = $client->getRedirectUri() . '?error=unsupported_response_type&state=' . $state;
97
+            return new RedirectResponse($url);
98
+        }
99 99
 
100
-		$this->session->set('oauth.state', $state);
100
+        $this->session->set('oauth.state', $state);
101 101
 
102
-		$targetUrl = $this->urlGenerator->linkToRouteAbsolute(
103
-			'core.ClientFlowLogin.showAuthPickerPage',
104
-			[
105
-				'clientIdentifier' => $client->getClientIdentifier(),
106
-			]
107
-		);
108
-		return new RedirectResponse($targetUrl);
109
-	}
102
+        $targetUrl = $this->urlGenerator->linkToRouteAbsolute(
103
+            'core.ClientFlowLogin.showAuthPickerPage',
104
+            [
105
+                'clientIdentifier' => $client->getClientIdentifier(),
106
+            ]
107
+        );
108
+        return new RedirectResponse($targetUrl);
109
+    }
110 110
 }
Please login to merge, or discard this patch.
apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php 1 patch
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -33,61 +33,61 @@
 block discarded – undo
33 33
 
34 34
 class Version010000Date20200304152605 extends SimpleMigrationStep {
35 35
 
36
-	/**
37
-	 * @param IOutput $output
38
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
-	 * @param array $options
40
-	 *
41
-	 * @return ISchemaWrapper
42
-	 */
43
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ISchemaWrapper {
44
-		/** @var ISchemaWrapper $schema */
45
-		$schema = $schemaClosure();
36
+    /**
37
+     * @param IOutput $output
38
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
+     * @param array $options
40
+     *
41
+     * @return ISchemaWrapper
42
+     */
43
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ISchemaWrapper {
44
+        /** @var ISchemaWrapper $schema */
45
+        $schema = $schemaClosure();
46 46
 
47
-		$table = $schema->createTable(RecentContactMapper::TABLE_NAME);
48
-		$table->addColumn('id', 'integer', [
49
-			'autoincrement' => true,
50
-			'notnull' => true,
51
-			'length' => 4,
52
-		]);
53
-		$table->addColumn('actor_uid', 'string', [
54
-			'notnull' => true,
55
-			'length' => 64,
56
-		]);
57
-		$table->addColumn('uid', 'string', [
58
-			'notnull' => false,
59
-			'length' => 64,
60
-		]);
61
-		$table->addColumn('email', 'string', [
62
-			'notnull' => false,
63
-			'length' => 255,
64
-		]);
65
-		$table->addColumn('federated_cloud_id', 'string', [
66
-			'notnull' => false,
67
-			'length' => 255,
68
-		]);
69
-		$table->addColumn('card', 'blob', [
70
-			'notnull' => true,
71
-		]);
72
-		$table->addColumn('last_contact', 'integer', [
73
-			'notnull' => true,
74
-			'length' => 4,
75
-		]);
76
-		$table->setPrimaryKey(['id']);
77
-		// To find all recent entries
78
-		$table->addIndex(['actor_uid'], RecentContactMapper::TABLE_NAME . '_actor_uid');
79
-		// To find a specific entry
80
-		$table->addIndex(['id', 'actor_uid'], RecentContactMapper::TABLE_NAME . '_id_uid');
81
-		// To find all recent entries with a given UID
82
-		$table->addIndex(['uid'], RecentContactMapper::TABLE_NAME . '_uid');
83
-		// To find all recent entries with a given email address
84
-		$table->addIndex(['email'], RecentContactMapper::TABLE_NAME . '_email');
85
-		// To find all recent entries with a give federated cloud id
86
-		$table->addIndex(['federated_cloud_id'], RecentContactMapper::TABLE_NAME . '_fed_id');
87
-		// For the cleanup
88
-		$table->addIndex(['last_contact'], RecentContactMapper::TABLE_NAME . '_last_contact');
47
+        $table = $schema->createTable(RecentContactMapper::TABLE_NAME);
48
+        $table->addColumn('id', 'integer', [
49
+            'autoincrement' => true,
50
+            'notnull' => true,
51
+            'length' => 4,
52
+        ]);
53
+        $table->addColumn('actor_uid', 'string', [
54
+            'notnull' => true,
55
+            'length' => 64,
56
+        ]);
57
+        $table->addColumn('uid', 'string', [
58
+            'notnull' => false,
59
+            'length' => 64,
60
+        ]);
61
+        $table->addColumn('email', 'string', [
62
+            'notnull' => false,
63
+            'length' => 255,
64
+        ]);
65
+        $table->addColumn('federated_cloud_id', 'string', [
66
+            'notnull' => false,
67
+            'length' => 255,
68
+        ]);
69
+        $table->addColumn('card', 'blob', [
70
+            'notnull' => true,
71
+        ]);
72
+        $table->addColumn('last_contact', 'integer', [
73
+            'notnull' => true,
74
+            'length' => 4,
75
+        ]);
76
+        $table->setPrimaryKey(['id']);
77
+        // To find all recent entries
78
+        $table->addIndex(['actor_uid'], RecentContactMapper::TABLE_NAME . '_actor_uid');
79
+        // To find a specific entry
80
+        $table->addIndex(['id', 'actor_uid'], RecentContactMapper::TABLE_NAME . '_id_uid');
81
+        // To find all recent entries with a given UID
82
+        $table->addIndex(['uid'], RecentContactMapper::TABLE_NAME . '_uid');
83
+        // To find all recent entries with a given email address
84
+        $table->addIndex(['email'], RecentContactMapper::TABLE_NAME . '_email');
85
+        // To find all recent entries with a give federated cloud id
86
+        $table->addIndex(['federated_cloud_id'], RecentContactMapper::TABLE_NAME . '_fed_id');
87
+        // For the cleanup
88
+        $table->addIndex(['last_contact'], RecentContactMapper::TABLE_NAME . '_last_contact');
89 89
 
90
-		return $schema;
91
-	}
90
+        return $schema;
91
+    }
92 92
 
93 93
 }
Please login to merge, or discard this patch.
apps/contactsinteraction/lib/AddressBookProvider.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -33,49 +33,49 @@
 block discarded – undo
33 33
 
34 34
 class AddressBookProvider implements IAddressBookProvider {
35 35
 
36
-	/** @var RecentContactMapper */
37
-	private $mapper;
36
+    /** @var RecentContactMapper */
37
+    private $mapper;
38 38
 
39
-	/** @var IL10N */
40
-	private $l10n;
39
+    /** @var IL10N */
40
+    private $l10n;
41 41
 
42
-	public function __construct(RecentContactMapper $mapper, IL10N $l10n) {
43
-		$this->mapper = $mapper;
44
-		$this->l10n = $l10n;
45
-	}
42
+    public function __construct(RecentContactMapper $mapper, IL10N $l10n) {
43
+        $this->mapper = $mapper;
44
+        $this->l10n = $l10n;
45
+    }
46 46
 
47
-	/**
48
-	 * @inheritDoc
49
-	 */
50
-	public function getAppId(): string {
51
-		return Application::APP_ID;
52
-	}
47
+    /**
48
+     * @inheritDoc
49
+     */
50
+    public function getAppId(): string {
51
+        return Application::APP_ID;
52
+    }
53 53
 
54
-	/**
55
-	 * @inheritDoc
56
-	 */
57
-	public function fetchAllForAddressBookHome(string $principalUri): array {
58
-		return [
59
-			new AddressBook($this->mapper, $this->l10n, $principalUri)
60
-		];
61
-	}
54
+    /**
55
+     * @inheritDoc
56
+     */
57
+    public function fetchAllForAddressBookHome(string $principalUri): array {
58
+        return [
59
+            new AddressBook($this->mapper, $this->l10n, $principalUri)
60
+        ];
61
+    }
62 62
 
63
-	/**
64
-	 * @inheritDoc
65
-	 */
66
-	public function hasAddressBookInAddressBookHome(string $principalUri, string $uri): bool {
67
-		return $uri === AddressBook::URI;
68
-	}
63
+    /**
64
+     * @inheritDoc
65
+     */
66
+    public function hasAddressBookInAddressBookHome(string $principalUri, string $uri): bool {
67
+        return $uri === AddressBook::URI;
68
+    }
69 69
 
70
-	/**
71
-	 * @inheritDoc
72
-	 */
73
-	public function getAddressBookInAddressBookHome(string $principalUri, string $uri): ?ExternalAddressBook {
74
-		if ($uri === AddressBook::URI) {
75
-			return new AddressBook($this->mapper, $this->l10n, $principalUri);
76
-		}
70
+    /**
71
+     * @inheritDoc
72
+     */
73
+    public function getAddressBookInAddressBookHome(string $principalUri, string $uri): ?ExternalAddressBook {
74
+        if ($uri === AddressBook::URI) {
75
+            return new AddressBook($this->mapper, $this->l10n, $principalUri);
76
+        }
77 77
 
78
-		return null;
79
-	}
78
+        return null;
79
+    }
80 80
 
81 81
 }
Please login to merge, or discard this patch.