v3.14.12
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
UndefinedInterfaceMethodfalse positive onCache::driver()->flexible()(#1233) - Fix empty
<projectFiles>inpsalm-laravel initon Composer monorepos (#1235)
Full Changelog: v3.14.11...v3.14.12