Skip to content

Commit

Permalink
chore: use typed properties
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Dec 30, 2024
1 parent ad763fa commit b922612
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 @@ -39,24 +39,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 b922612

Please sign in to comment.