From 36a9b21028c20598309914fab5b68d8de4b9ffe1 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 26 Apr 2024 23:33:34 +0200 Subject: [PATCH] Lint --- app/Form/Scopes/ParticipantFilterScope.php | 3 +++ tests/stub/phpstan/TestResponse.stub | 1 + 2 files changed, 4 insertions(+) diff --git a/app/Form/Scopes/ParticipantFilterScope.php b/app/Form/Scopes/ParticipantFilterScope.php index 2d95ff4b..1b117764 100644 --- a/app/Form/Scopes/ParticipantFilterScope.php +++ b/app/Form/Scopes/ParticipantFilterScope.php @@ -18,6 +18,9 @@ use Spatie\LaravelData\Mappers\SnakeCaseMapper; #[MapOutputName(SnakeCaseMapper::class)] class ParticipantFilterScope extends Filter { + /** + * @param array $data + */ public function __construct( public ?int $parent = null, public array $data = [], diff --git a/tests/stub/phpstan/TestResponse.stub b/tests/stub/phpstan/TestResponse.stub index 44c05277..8eed0748 100644 --- a/tests/stub/phpstan/TestResponse.stub +++ b/tests/stub/phpstan/TestResponse.stub @@ -9,6 +9,7 @@ use Symfony\Component\HttpFoundation\File\File; * @method self assertInertiaPath(string $path, mixed $value) * @method self assertPdfPageCount(int $count) * @method self assertPdfName(string $filename) + * @method self asseertHasJsonPath(string $path) * @method File getFile() */ class TestResponse