Skip to content
This repository was archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
style: format code with dotnet-format and PHP CS Fixer
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in f20662a according to the output
from dotnet-format and PHP CS Fixer.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Sep 23, 2024
1 parent f20662a commit f06fc26
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/admin/bans.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Session::init();

if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
Util::redirect('/auth/login.php');
}
// Fetch user data
$userList = $admin->getUserArray();
Expand Down
2 changes: 1 addition & 1 deletion src/admin/codes.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Session::init();

if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
Util::redirect('/auth/login.php');
}

// Get session username
Expand Down
2 changes: 1 addition & 1 deletion src/admin/gift.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Session::init();

if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
Util::redirect('/auth/login.php');
}

// Get session username and user list
Expand Down
2 changes: 1 addition & 1 deletion src/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Session::init();

if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
Util::redirect('/auth/login.php');
}

$username = Session::get("username");
Expand Down
2 changes: 1 addition & 1 deletion src/admin/password.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Session::init();
if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
}
}

$userList = $admin->getUserArray();
$username = Session::get('username');
Expand Down
2 changes: 1 addition & 1 deletion src/admin/userinvites.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Session::init();
if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
Util::redirect('/auth/login.php');
}

$username = Session::get("username");
Expand Down
2 changes: 1 addition & 1 deletion src/admin/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Session::init();

if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
Util::redirect('/auth/login.php');
}
// Get session username and user list
$username = Session::get("username");
Expand Down

0 comments on commit f06fc26

Please sign in to comment.