Skip to content

Commit 0e1e7b1

Browse files
committed
cs - fix style by replacing FQCN with import
1 parent 13fc765 commit 0e1e7b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Views/email_2fa_show.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<?php
2+
3+
use CodeIgniter\Shield\Entities\User;
4+
5+
?>
6+
17
<?= $this->extend(config('Auth')->views['layout']) ?>
28

39
<?= $this->section('title') ?><?= lang('Auth.email2FATitle') ?> <?= $this->endSection() ?>
@@ -22,6 +28,7 @@
2228
<div class="mb-2">
2329
<input type="email" class="form-control" name="email"
2430
inputmode="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>"
31+
<?php /** @var User $user */ ?>
2532
value="<?= old('email', $user->email) ?>" required>
2633
</div>
2734

0 commit comments

Comments
 (0)