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