Skip to content

Fix PHPStan errors: add type annotations for list query results#467

Merged
dereuromark merged 1 commit intomasterfrom
phpstan-fix
Mar 19, 2026
Merged

Fix PHPStan errors: add type annotations for list query results#467
dereuromark merged 1 commit intomasterfrom
phpstan-fix

Conversation

@dereuromark
Copy link
Owner

Adds @var annotations to help PHPStan understand that find('list')->toArray() returns array<string, string>.

@codecov-commenter
Copy link

codecov-commenter commented Mar 19, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.04%. Comparing base (6ab3291) to head (61c7134).
⚠️ Report is 1 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #467   +/-   ##
=========================================
  Coverage     77.03%   77.04%           
  Complexity      936      936           
=========================================
  Files            45       45           
  Lines          3166     3167    +1     
=========================================
+ Hits           2439     2440    +1     
  Misses          727      727           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dereuromark dereuromark merged commit ba99af3 into master Mar 19, 2026
16 checks passed
@dereuromark dereuromark deleted the phpstan-fix branch March 19, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants