Skip to content

Commit

Permalink
Auth readonly class
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
  • Loading branch information
docjyJ committed Sep 25, 2024
1 parent 20857c4 commit 25e2dd8
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 25e2dd8

Please sign in to comment.