mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Completely type hint template functions and switch to named arguments
This commit is contained in:
parent
6108b5e53d
commit
124e8343fc
125 changed files with 542 additions and 450 deletions
|
@ -1,8 +1,11 @@
|
|||
<?
|
||||
$user = $user ?? new User();
|
||||
$isEditForm = $isEditForm ?? false;
|
||||
$generateNewUuid = $generateNewUuid ?? false;
|
||||
$passwordAction = $passwordAction ?? Enums\PasswordActionType::None;
|
||||
/**
|
||||
* @var User $user
|
||||
* @var Enums\PasswordActionType $passwordAction;
|
||||
* @var bool $generateNewUuid
|
||||
*/
|
||||
|
||||
$isEditForm ??= false;
|
||||
?>
|
||||
|
||||
<label class="email">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue