chore: ignore PHPMD unused parameter errors

This commit is contained in:
Michael Thomas 2024-03-09 14:09:36 -05:00
parent 1ec830521a
commit 1371b6773e
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,8 @@ class ExpressionController extends Controller
* @param ValidateExpressionRequest $request
*
* @return JsonResponse
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function validateExpression(ValidateExpressionRequest $request): JsonResponse
{

View File

@ -35,6 +35,8 @@ class IsValidActionExpression implements ValidationRule
* Check that the given action expression is syntactically valid.
*
* @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function validate(string $attribute, mixed $value, Closure $fail): void
{