packagist nunomaduro/larastan v3.13.1
3.13.1

latest releases: v3.15.0, v3.14.0, v3.13.2...
one month ago

What's Changed

Fixed

  • Type argument() and option() calls and check argument and option names in commands registered through the console kernel, including the kernel's $commands property, withCommands(), and app/Console/Commands on Laravel 13.36 and newer, by @robsonek in #2585.
  • Infer callback parameter types in map() and mapWithKeys() on Eloquent collections again, so mapped values are no longer mixed, by @canvural in dea9faf.
  • Check model properties in incrementEach() and decrementEach() by @uchimaki-vensley in #2573.
  • Check model properties in incrementOrCreate() by @uchimaki-vensley in #2581.
  • Check model properties in relation incrementOrCreate() on Laravel 13.35 and newer by @uchimaki-vensley in #2593.
  • Check model properties in findSole() and findOr() by @uchimaki-vensley in #2591.
  • Check model properties in upsert() by @uchimaki-vensley in #2592.
  • Narrow filter(), reject(), and whereNotNull() inside a nullsafe chain by @SanderMuller in #2584.

New Contributors

Full Changelog: v3.13.0...v3.13.1

Don't miss a new larastan release

NewReleases is sending notifications on new releases.