Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Sep 21, 2024
1 parent fb89432 commit 1d18e94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Auth/Source/X509userCert.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 1d18e94

Please sign in to comment.