Skip to content

v3.14.5

Choose a tag to compare

@alies-dev alies-dev released this 26 Jun 01:05
ed9c119

This patch sharpens conditional return types for several Laravel helpers and guards against two crash paths during partial app bootstrap.

Fixes

  • Add conditional return types for Pagination::fragment(), Arr::random(), and Lottery::choose() (#1176)
  • Use a conditional return type for Route::domain() so it narrows $this vs string (#1174)
  • Remap the value type in Paginator::through() to the updated template after the callback (#1173)
  • Guard migrator resolution so analysis no longer crashes when the app bootstraps partially (#1175)
  • Prevent a crash when a container binding resolves to an over-long string (#1179)
  • Forward CLI flags from psalm-laravel analyze through to psalm CLI (#1158)

Full Changelog: v3.14.4...v3.14.5