From 1d18e949aaff5625dd0f913215ff448270953480 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Sat, 21 Sep 2024 11:42:55 +0200 Subject: [PATCH] Fix coding style --- src/Auth/Source/X509userCert.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Auth/Source/X509userCert.php b/src/Auth/Source/X509userCert.php index ada34e0..3d96387 100644 --- a/src/Auth/Source/X509userCert.php +++ b/src/Auth/Source/X509userCert.php @@ -24,6 +24,7 @@ use function array_merge; use function array_values; use function current; +use function is_null; use function openssl_x509_parse; use function sprintf; @@ -191,7 +192,7 @@ public function authenticate(array &$state): void if ($this->ldapusercert === null) { // do not check for certificate match - if (is_null($this->ldapConfig->getOptionalArray('attributes',null))) { + if (is_null($this->ldapConfig->getOptionalArray('attributes', null))) { $attributes = $entry->getAttributes(); } else { $attributes = array_intersect_key(