Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored and github-actions[bot] committed Oct 31, 2024
1 parent ece4c3b commit 130620a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/app/Orchid/Layouts/User/UserPasswordLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function fields(): array
$user = $this->query->get('user');

$exists = $user->exists;

$placeholder = $exists
? __('Leave empty to keep current password')
: __('Enter the password to be set');
Expand All @@ -31,7 +31,7 @@ public function fields(): array
Password::make('user.password')
->placeholder($placeholder)
->title(__('Password'))
->required(!$exists),
->required(! $exists),
];
}
}

0 comments on commit 130620a

Please sign in to comment.