diff options
author | Faraz Samapoor <f.samapoor@gmail.com> | 2023-06-26 21:48:36 +0330 |
---|---|---|
committer | Faraz Samapoor <fsa@adlas.at> | 2023-09-21 11:20:12 +0330 |
commit | f9596edb00e3e7b1142a9a43c3b7689f907c94b4 (patch) | |
tree | 821a48c7017f84bbb82926c58b71b4cbdf848539 /lib/private/Security | |
parent | 4f46656d397858265609b68ab2b51c1a2a7e7772 (diff) | |
download | nextcloud-server-f9596edb00e3e7b1142a9a43c3b7689f907c94b4.tar.gz nextcloud-server-f9596edb00e3e7b1142a9a43c3b7689f907c94b4.zip |
Updates the typed properties.
Based on: https://github.com/nextcloud/server/pull/39013#discussion_r1242340826
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'lib/private/Security')
-rw-r--r-- | lib/private/Security/Certificate.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Security/Certificate.php b/lib/private/Security/Certificate.php index 61afbf74791..54636403ead 100644 --- a/lib/private/Security/Certificate.php +++ b/lib/private/Security/Certificate.php @@ -32,9 +32,9 @@ use OCP\ICertificate; class Certificate implements ICertificate { protected string $name; - protected mixed $commonName; + protected ?string $commonName; - protected mixed $organization; + protected ?string $organization; protected $serial; @@ -42,9 +42,9 @@ class Certificate implements ICertificate { protected \DateTime $expireDate; - protected mixed $issuerName; + protected ?string $issuerName; - protected mixed $issuerOrganization; + protected ?string $issuerOrganization; /** * @param string $data base64 encoded certificate |