Skip to content

Commit 1c15d8e

Browse files
committed
fix: remove unnecessary conditional block
1 parent 58c7411 commit 1c15d8e

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/Auth/Process/Authorize.php

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -162,19 +162,10 @@ public function __construct(array $config, $reserved)
162162
}
163163
}
164164

165-
// For backward compatibility, if no spEntityIDs were found,
166-
// store the values directly in the old format
167-
if ($spEntityIDs === null) {
168-
$this->valid_attribute_values[$attribute] = [
169-
'values' => $values,
170-
'spEntityIDs' => null,
171-
];
172-
} else {
173-
$this->valid_attribute_values[$attribute] = [
174-
'values' => $values,
175-
'spEntityIDs' => $spEntityIDs,
176-
];
177-
}
165+
$this->valid_attribute_values[$attribute] = [
166+
'values' => $values,
167+
'spEntityIDs' => $spEntityIDs,
168+
];
178169
}
179170
}
180171

0 commit comments

Comments
 (0)