Verified Commit 674583be authored by Korko's avatar Korko
Browse files

Ignore encryption key warning from phpstan

parent 75df37ce
Pipeline #363778 passed with stages
in 5 minutes and 47 seconds
......@@ -24,6 +24,7 @@ class HandleEncryptionKey
try {
// Accessing the attribute is enough
// @phpstan-ignore-next-line
$request->route()->parameters()[$parameterToCheck]->$fieldToCheck;
} catch (DecryptException $e) {
abort(500, "Invalid encryption key");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment