Skip to content

v4.14.5

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Jun 00:20
· 2 commits to refs/heads/master since this release
27111b3

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: v4.14.4...v4.14.5