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:
parent
ba5583523f
commit
a60cfd494f
1 changed files with 1 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue