1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:54:04 +00:00

Merge isset() calls

This commit is contained in:
Mark 2024-12-29 09:11:18 +01:00
parent ba5583523f
commit a60cfd494f
No known key found for this signature in database
GPG key ID: 79CFF7869BD39873

View file

@ -96,9 +96,7 @@ class InitializeTenancyByRequestData extends IdentificationMiddleware
if (
is_array($data) &&
isset($data['iv']) &&
isset($data['value']) &&
isset($data['mac'])
isset($data['iv'], $data['value'], $data['mac'])
) {
// We can confidently assert that the cookie is encrypted. If this call were to fail, this method would just
// return null and the cookie payload would get skipped.