Skip to content

Commit 0999e6f

Browse files
committed
refactor: add declare(strict_types=1)
1 parent 625da71 commit 0999e6f

File tree

116 files changed

+232
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+232
-0
lines changed

src/Auth.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield;
46

57
use CodeIgniter\Router\RouteCollection;

src/Authentication/Actions/ActionInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication\Actions;
46

57
use CodeIgniter\HTTP\IncomingRequest;

src/Authentication/Actions/Email2FA.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication\Actions;
46

57
use CodeIgniter\HTTP\IncomingRequest;

src/Authentication/Actions/EmailActivator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication\Actions;
46

57
use CodeIgniter\Exceptions\PageNotFoundException;

src/Authentication/Authentication.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication;
46

57
use CodeIgniter\Shield\Config\Auth as AuthConfig;

src/Authentication/AuthenticationException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication;
46

57
use CodeIgniter\HTTP\Exceptions\HTTPException;

src/Authentication/AuthenticatorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication;
46

57
use CodeIgniter\Shield\Entities\User;

src/Authentication/Authenticators/AccessTokens.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication\Authenticators;
46

57
use CodeIgniter\HTTP\IncomingRequest;

src/Authentication/Authenticators/Session.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication\Authenticators;
46

57
use CodeIgniter\Config\Factories;

src/Authentication/Passwords.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CodeIgniter\Shield\Authentication;
46

57
use CodeIgniter\Shield\Authentication\Passwords\ValidatorInterface;

0 commit comments

Comments
 (0)