I encountered an error in the code, which is pretty simple to fix.
Here is the error:
In Credentials.php line 32:
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
It is about the code: $lwaAccessToken = $useMigrationToken === true ? $this->getMigrationToken() : $useMigrationToken === 'grantless' ? $this->getGrantlessAuthToken() : $this->getLWAToken();
New version of PHP does not appreciate the ambiguity without parenthesis.
Can you fix this line plz ?
Hi,
I encountered an error in the code, which is pretty simple to fix. Here is the error:
It is about the code:
$lwaAccessToken = $useMigrationToken === true ? $this->getMigrationToken() : $useMigrationToken === 'grantless' ? $this->getGrantlessAuthToken() : $this->getLWAToken();
New version of PHP does not appreciate the ambiguity without parenthesis. Can you fix this line plz ?
Thanks, Vincent