EnAccess / micropowermanager

Open Source Management Tool for Decentralized Utilities.
https://micropowermanager.io/
MIT License
2 stars 2 forks source link

Fix `psalm` errors for level 8 #105

Open dmohns opened 3 months ago

dmohns commented 3 months ago

Essentially a continuation of this PR: https://github.com/EnAccess/micropowermanager/pull/106

Psalm detect's a couple of errors, mostly

Error: app/Services/RolesService.php:48:29: TooFewArguments: Too few arguments for method Illuminate\Database\Eloquent\Model::with saw 0 (see https://psalm.dev/025)
Error: app/modules/OutstandingDebts/OutstandingDebtsExportService.php:16:26: ParseError: Syntax error, unexpected T_STRING, expecting T_VARIABLE on line 16 (see https://psalm.dev/173)

Please fix these.