File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
lib/private/Repair/Owncloud Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 11<?php
2+
23/**
34 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
45 * SPDX-License-Identifier: AGPL-3.0-or-later
56 */
7+
68namespace OC \Repair \Owncloud ;
79
810use OC \Authentication \Token \IProvider as ITokenProvider ;
1921use OCP \Security \ISecureRandom ;
2022
2123class MigrateOauthTables implements IRepairStep {
22- /** @var Connection */
23- protected $ db ;
2424
25- /**
26- * @param Connection $db
27- */
2825 public function __construct (
29- Connection $ db ,
26+ protected Connection $ db ,
3027 private AccessTokenMapper $ accessTokenMapper ,
3128 private ITokenProvider $ tokenProvider ,
3229 private ISecureRandom $ random ,
3330 private ITimeFactory $ timeFactory ,
3431 private ICrypto $ crypto ,
3532 ) {
36- $ this ->db = $ db ;
3733 }
3834
3935 /**
@@ -225,7 +221,7 @@ public function run(IOutput $output) {
225221 $ row ['user_id ' ],
226222 $ row ['user_id ' ],
227223 null ,
228- "oc_migrated_client $ { clientId}_t {$ now }_i $ index " ,
224+ "oc_migrated_client { $ clientId }_t {$ now }_i $ index " ,
229225 IToken::PERMANENT_TOKEN ,
230226 IToken::DO_NOT_REMEMBER ,
231227 );
You can’t perform that action at this time.
0 commit comments