Skip to content

Commit

Permalink
Merge pull request #4212 from LibreSign/backport/4210/stable29
Browse files Browse the repository at this point in the history
[stable29] chore: use typed properties
  • Loading branch information
vitormattos authored Dec 30, 2024
2 parents b2988e7 + c874ce6 commit 67330fd
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions lib/Service/FileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,16 @@
class FileService {
use TFile;

/** @var bool */
private $showSigners = false;
/** @var bool */
private $showSettings = false;
/** @var bool */
private $showVisibleElements = false;
/** @var bool */
private $showMessages = false;
/** @var File|null */
private $file;
private bool $showSigners = false;
private bool $showSettings = false;
private bool $showVisibleElements = false;
private bool $showMessages = false;
private ?File $file = null;
private ?SignRequest $signRequest = null;
/** @var IUser|null */
private $me;
private ?IUser $me = null;
private ?int $identifyMethodId = null;
/** @var array */
private $signers = [];
/** @var array */
private $settings = [
private array $signers = [];
private array $settings = [
'canSign' => false,
'canRequestSign' => false,
'signerFileUuid' => null,
Expand Down

0 comments on commit 67330fd

Please sign in to comment.