Skip to content

Commit

Permalink
Auth readonly class
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Yves <[email protected]>
  • Loading branch information
docjyJ committed Sep 24, 2024
1 parent 5187ea6 commit 1e4f32f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions php/src/Auth/AuthManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
use AIO\Data\DataConst;
use DateTime;

class AuthManager {
readonly class AuthManager {
private const string SESSION_KEY = 'aio_authenticated';

public function __construct(
private readonly ConfigurationManager $configurationManager
private ConfigurationManager $configurationManager
) {
}

Expand Down
2 changes: 1 addition & 1 deletion php/src/Auth/PasswordGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Random\RandomException;

class PasswordGenerator {
readonly class PasswordGenerator {

private const array WORDS = [
'abacus',
Expand Down

0 comments on commit 1e4f32f

Please sign in to comment.