mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 03:08:11 +00:00
chore: ignore PHPMD unused parameter errors
This commit is contained in:
@@ -39,6 +39,8 @@ class ExpressionController extends Controller
|
|||||||
* @param ValidateExpressionRequest $request
|
* @param ValidateExpressionRequest $request
|
||||||
*
|
*
|
||||||
* @return JsonResponse
|
* @return JsonResponse
|
||||||
|
*
|
||||||
|
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||||
*/
|
*/
|
||||||
public function validateExpression(ValidateExpressionRequest $request): JsonResponse
|
public function validateExpression(ValidateExpressionRequest $request): JsonResponse
|
||||||
{
|
{
|
||||||
|
@@ -35,6 +35,8 @@ class IsValidActionExpression implements ValidationRule
|
|||||||
* Check that the given action expression is syntactically valid.
|
* Check that the given action expression is syntactically valid.
|
||||||
*
|
*
|
||||||
* @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail
|
* @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail
|
||||||
|
*
|
||||||
|
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||||
*/
|
*/
|
||||||
public function validate(string $attribute, mixed $value, Closure $fail): void
|
public function validate(string $attribute, mixed $value, Closure $fail): void
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user