-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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 🐘 (#44545)
* Adds types to `up` and `down` migration methods * Adds types casts `get` and `set` methods * Adds types to HTTP Authenticate `redirectTo` method * 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 * Improves types order * Adds types to `definition` model factory method * Adds types to `handle` job method * Types missing `render` method in Exception * Adds types to `handle` listener method * Adds types to `render` and `report` Exception method * Adds types to `build` Mail method * Fixes missing param type in `handle` middleware method * Adds types to notifications * Adds types to observers * Adds types to policies * Adds types to providers * Adds types to requests * Adds types to resources * Adds types to rules * Adds missing types to rules * Adds types to scopes * Adds types to seeds * Adds types to tests * Adds types to Auth user providers * Adds types to Authenticatable * Adds types to `SerializesCastableAttributes` * Adds missing type * Migrates missing job stub * Adds types to UrlRoutable * Reverts changes on test migrations * Reverts changes on test migrations * Reverts changes on test migrations * Reverts changes on `Authenticatable` * Reverts changes on `UserProvider` * Reverts changes on UserProvider * Changes the console stub * Fixes missing type annotation * Reverts changes in docs * Swaps order of params * Fixes key type * Reverts changes on UrlRoutable * Reverts changes on UrlRoutable * Types BroadcastsEvents * Simplifies event stub * Adds types to inbound stub * Makes `report` void return type * Makes `report` void return type * Adds missing type on validaton * Clarifies that `$notifiable` is an object * Fixes type on "render" errors * Avoids issues with Larastan * Reverts * Improves rules types * Simplifies policy's return type * Types controllers stubs * Adds types to singleton stubs * Fixes return type * Use `RedirectResponse` on non api controllers (#45485)
- Loading branch information
1 parent
c152a97
commit eb04fb4
Showing
66 changed files
with
210 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.