Skip to content

Commit

Permalink
chore: run composer cs:fix
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Aug 26, 2024
1 parent d2c3ee6 commit 58601e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Command/MigrateU2F.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/Provider/WebAuthnProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Controller/SettingsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 58601e8

Please sign in to comment.