packagist larastan/larastan v2.9.1
2.9.1

latest releases: 2.x-dev, dev-route-name-type, dev-szepeviktor-patch-1...
6 months ago

What's Changed

Added

  • Add support for restoreOrCreate and createOrRestore SoftDelete macros. by @mad-briller in #1859
  • chore: add withWhereHas method to supported Eloquent Builder methods by @akinoriakatsuka in #1853

Fixed

  • Fixed issue where collections with invalid templates configured would cause a fatal error. by @mad-briller in #1863
  • Fixed a case with macros registered as static methods with array syntax 42d5262
  • Fixed an issue where map and mapWithKeys methods of Eloquent collection returns a Eloquent collection if model is returned from the callback 097a2d2

Internal

  • chore: add tests for LazyCollection flatmap by @calebdw in #1851
  • Added error identifiers to Larastan's rules b3f95c4

New Contributors

Full Changelog: v2.9.0...v2.9.1

Don't miss a new larastan release

NewReleases is sending notifications on new releases.