Fix multiple issues detected by static analysis

This commit is contained in:
Bubka
2022-09-07 17:54:27 +02:00
parent 46ef26e9dc
commit 2123250a5e
20 changed files with 77 additions and 58 deletions

View File

@ -54,7 +54,7 @@ class WebAuthnManageController extends Controller
$validated = $request->validated();
$webAuthnCredential = WebAuthnCredential::where('id', $credential)->firstOrFail();
$webAuthnCredential->name = $validated['name'];
$webAuthnCredential->name = $validated['name']; // @phpstan-ignore-line
$webAuthnCredential->save();
return response()->json([