diff --git a/lib/Command/MigrateU2F.php b/lib/Command/MigrateU2F.php index 59b005be..14106797 100644 --- a/lib/Command/MigrateU2F.php +++ b/lib/Command/MigrateU2F.php @@ -82,7 +82,7 @@ public function __construct(U2FMigrator $migrator, } protected function configure(): void { - $this->setName("twofactor_webauthn:migrate-u2f"); + $this->setName('twofactor_webauthn:migrate-u2f'); $this->addOption(self::OPTION_ALL); $this->addOption(self::OPTION_DELETE_U2F_REGISTRATIONS); $this->addArgument(self::ARGUMENT_USER_ID, InputArgument::OPTIONAL | InputArgument::IS_ARRAY); diff --git a/lib/Provider/WebAuthnProvider.php b/lib/Provider/WebAuthnProvider.php index 04fe83f6..75b48a88 100644 --- a/lib/Provider/WebAuthnProvider.php +++ b/lib/Provider/WebAuthnProvider.php @@ -64,7 +64,7 @@ class WebAuthnProvider implements IProvider, IProvidesIcons, IProvidesPersonalSe /** @var IRequest */ private $request; - /** @var ContainerInterface */ + /** @var ContainerInterface */ private $container; public function __construct(IL10N $l10n, diff --git a/tests/Unit/Controller/SettingsControllerTest.php b/tests/Unit/Controller/SettingsControllerTest.php index f8f854af..5a8e01da 100644 --- a/tests/Unit/Controller/SettingsControllerTest.php +++ b/tests/Unit/Controller/SettingsControllerTest.php @@ -92,11 +92,11 @@ public function testFinishRegister(): void { ->method('finishRegister') ->with( self::equalTo($user), - self::equalTo("my key"), + self::equalTo('my key'), self::equalTo($data)) ->willReturn([]); - $resp = $this->controller->finishRegister("my key", $data); + $resp = $this->controller->finishRegister('my key', $data); self::assertEquals(new JSONResponse([]), $resp); }