mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14: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 (
|
if (
|
||||||
is_array($data) &&
|
is_array($data) &&
|
||||||
isset($data['iv']) &&
|
isset($data['iv'], $data['value'], $data['mac'])
|
||||||
isset($data['value']) &&
|
|
||||||
isset($data['mac'])
|
|
||||||
) {
|
) {
|
||||||
// We can confidently assert that the cookie is encrypted. If this call were to fail, this method would just
|
// 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.
|
// return null and the cookie payload would get skipped.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue