Skip to content

Commit

Permalink
style: run prettier on changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed Dec 7, 2024
1 parent 8253481 commit de2d2ca
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 152 deletions.
290 changes: 140 additions & 150 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class Auth {
# Start with pfSense 24.11, getUserEntry returns an array with the key 'item' containing the user data.
# We need to handle both cases to support both.
$user_ent = getUserEntry($this->username);
$user_ent = (array_key_exists('item', $user_ent)) ? $user_ent['item'] : $user_ent;
$user_ent = array_key_exists('item', $user_ent) ? $user_ent['item'] : $user_ent;

# Obtain the client's privileges and check if they have the required privileges
$this->client_privileges = get_user_privileges($user_ent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ class Model {
* @param bool $force_parse Force an entire reparse of the config.xml file instead of the cached config.
*/
public static function reload_config(bool $force_parse = false): void {
config_set_path("", parse_config(parse: $force_parse));
config_set_path('', parse_config(parse: $force_parse));
}

/**
Expand Down

0 comments on commit de2d2ca

Please sign in to comment.