Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Mar 14, 2024
1 parent b0fbd9d commit a295e64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<psalm
errorLevel="6"
errorLevel="7"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down
1 change: 1 addition & 0 deletions src/Console/LarexInsertCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function handle(): int
$languages = $header->skip(2)->values();

//initialize data
/** @var Collection<int, string> $data */
$data = collect([]);

//iterate until user confirm the inserted data
Expand Down

0 comments on commit a295e64

Please sign in to comment.