Skip to content

Commit de2d2ca

Browse files
style: run prettier on changed files
1 parent 8253481 commit de2d2ca

File tree

3 files changed

+142
-152
lines changed

3 files changed

+142
-152
lines changed

composer.lock

Lines changed: 140 additions & 150 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Core/Auth.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class Auth {
166166
# Start with pfSense 24.11, getUserEntry returns an array with the key 'item' containing the user data.
167167
# We need to handle both cases to support both.
168168
$user_ent = getUserEntry($this->username);
169-
$user_ent = (array_key_exists('item', $user_ent)) ? $user_ent['item'] : $user_ent;
169+
$user_ent = array_key_exists('item', $user_ent) ? $user_ent['item'] : $user_ent;
170170

171171
# Obtain the client's privileges and check if they have the required privileges
172172
$this->client_privileges = get_user_privileges($user_ent);

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Core/Model.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ class Model {
675675
* @param bool $force_parse Force an entire reparse of the config.xml file instead of the cached config.
676676
*/
677677
public static function reload_config(bool $force_parse = false): void {
678-
config_set_path("", parse_config(parse: $force_parse));
678+
config_set_path('', parse_config(parse: $force_parse));
679679
}
680680

681681
/**

0 commit comments

Comments
 (0)