Skip to content

v3.14.12

Choose a tag to compare

@alies-dev alies-dev released this 12 Jul 13:05
v3.14.12
bbe23ea

Narrow several producer and validation return types to their concrete implementations, plus fixes for Cache::driver()->flexible() and monorepo init scanning.

Features

  • Narrow Password::broker(), view()/trans(), and query builder pagination results to their concrete Laravel implementation (#1240)
 Password::broker()->createToken($user);
-// UndefinedInterfaceMethod (before): createToken() only exists on the concrete broker
+// now resolves: typed as Auth\Passwords\PasswordBroker

 view('welcome')->fragment('x');
-// UndefinedInterfaceMethod (before): fragment() only exists on Illuminate\View\View
+// now resolves: typed as View\View
  • Narrow validated integer()/boolean() accessors and rule-bound integer fields from validation rules (#1239, #1237)

Fixes

  • Fix UndefinedInterfaceMethod false positive on Cache::driver()->flexible() (#1233)
  • Fix empty <projectFiles> in psalm-laravel init on Composer monorepos (#1235)

Full Changelog: v3.14.11...v3.14.12