From a295e640622f0e8bc473dbb1d4a31d9837501a0f Mon Sep 17 00:00:00 2001 From: Luca Patera Date: Thu, 14 Mar 2024 19:49:49 +0100 Subject: [PATCH] Fix psalm --- composer.json | 1 + psalm.xml | 2 +- src/Console/LarexInsertCommand.php | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 41dbbeb..c45cdeb 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,7 @@ "require-dev": { "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", "pestphp/pest": "^v1.0|^v2.0", + "psalm/plugin-laravel": "^2.0", "vimeo/psalm": "^5.0" }, "autoload": { diff --git a/psalm.xml b/psalm.xml index c3026f0..b5a37f9 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,6 +1,6 @@ skip(2)->values(); //initialize data + /** @var Collection $data */ $data = collect([]); //iterate until user confirm the inserted data