Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10.x] Uses PHP Native Type Declarations 🐘 (laravel#8287)
* Adds types to `up` and `down` migration methods * Adds types casts `get` and `set` methods * Adds types to `handle` middleware methods * Adds types to `join` channel method * Adds types to `handle` command method * Adds types to `render` component method * Adds types to `broadcastOn` event method * Adds types to `definition` model factory method * Adds missing types to `render` blade component * Adds missing types to `handle` middleware methods, `handle` listeners methods, and exceptions `render` methods * Adds missing types to `build` mail component * Adds missing types to notification component * Adds types to observers * Adds types to policies * Adds types to providers * Adds types to form requests * Adds types to resources * Adds types to rules * Adds types to scopes * Adds types to seeds * Adds types to tests * Fully types `artisan.md` * Fully types `authentication.md` * Fully types `authorization.md` * Fully types `billing.md` * Fully types `blade.md` * Fully types `broadcasting.md` * Fully types `cache.md` * Fully types `collections.md` * Fully types `container.md` * Fully types `controllers.md` * Fully types `database.md` * Fully types `cashier-paddle.md` * Fully types `container.md` * Fully types `controllers.md` * Fully types `database.md` * Fully types `dusk.md` * Fully types `eloquent-collections.md` * Fully types `eloquent-factories.md` * Fully types `eloquent-mutators.md` * Fully types `eloquent-relationships.md` * Fully types `eloquent-resources.md` * Fully types `eloquent-serialization.md` * Fully types `eloquent.md` * Fully types `encryption.md` * Fully types `errors.md` * Fully types `events.md` * Fully types `facades.md` * Fully types `filesystem.md` * Fully types `fortify.md` * Fully types `frontend.md` * Fully types `hashing.md` * Fully types `helpers.md` * Fully types `horizon.md` * Fully types `http-client.md` * Fully types `locatization.md` * Fully types `logging.md` * Fully types `mail.md` * Fully types `middleware.md` * Fully types `migrations.md` * Fully types `mocking.md` * Fully types `notifications.md` * Fully types `octane.md` * Fully types `pagination.md` * Fully types `passport.md` * Fully types `passport.md` * Fully types `passwords.md` * Fully types `providers.md` * Re-adds missing type * Fully types `queries.md` * Fully types `queues.md` * Fully types `rate-limiting.md` * Fully types `redirects.md` * Fully types `redis.md` * Fully types `requests.md` * Fully types `responses.md` * Fully types `routing.md` * Fully types `scheduling.md` * Fully types `scout.md` * Fully types `session.md` * Fully types `telescope.md` * Fully types `testing.md` * Fully types `urls.md` * Fully types `validation.md` * Fully types `verification.md` * Fully types `views.md` * Fully types `vite.md` * Adds some missing types * Types middlewares `$next` argument * Types missing responses * Uses `void` as command return type * Reverts changes on dots * Fixes signature * Reverts changes on Authenticable * Reverts changes on `UserProvider` * Reverts changes on `UserProvider` * Fixes type * Reverts changes on `resolveChildRouteBinding` * Clarifies returns on components * Reverts order of types * Updates types order * Reworks broadcasting docs * Removes unused import * Uses dots * Applies more types on casts * Fixes `withResponse` type * Improves order of types * Fixes order of imports * More dots * Fixes return type of scope * Improves `report` on exceptions * Improves errors * Fixes style * Adds missing type on Horizon's gate method * Revert changes on `sendPasswordResetNotifications` * Adds missing import * Revert changes on upgrade * More adjustsments * Clarifies that `$notifiable` is an object * Removes non-needed imports * Uses `response()->noContent()` * Improves rules types * Adjusts isolable commands types * Typo on comments * Adds remaining docs types
- Loading branch information