From f9596edb00e3e7b1142a9a43c3b7689f907c94b4 Mon Sep 17 00:00:00 2001 From: Faraz Samapoor Date: Mon, 26 Jun 2023 21:48:36 +0330 Subject: Updates the typed properties. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/private/Security/Certificate.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/private') 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 -- cgit v1.2.3