Commit 8f0e00b
authored
[12.x] remove
* remove `@return` docblocks on constructors
PHP constructors don't really return anything, so the docblock is kind of unnecessary. this also brings consistency since we have some that use the tag and some that do not.
we have a total of 557 constructors in the framework, so we definitely used it more than we didn't, but my personal opinion is this direction makes more sense.
https://docs.phpdoc.org/guide/references/phpdoc/tags/return.html#return
#702
https://www.php.net/manual/en/language.oop5.decon.php
* minor formatting
* minor formatting@return docblocks on constructors (#55076)1 parent 069e868 commit 8f0e00b
File tree
489 files changed
+0
-500
lines changed- src/Illuminate
- Auth
- Access
- Events
- Events
- Middleware
- Notifications
- Passwords
- Broadcasting
- Broadcasters
- Bus
- Events
- Cache
- Console
- Events
- RateLimiting
- Collections
- Conditionable
- Config
- Console
- Events
- Scheduling
- View/Components
- Container
- Contracts
- Database
- Queue
- Cookie/Middleware
- Database
- Capsule
- Connectors
- Console
- Migrations
- Seeds
- Eloquent
- Attributes
- Casts
- Factories
- Relations
- Events
- Migrations
- Query
- Schema
- Encryption
- Events
- Filesystem
- Foundation
- Bus
- Configuration
- Console
- Events
- Exceptions
- Renderer
- Mappers
- Http
- Events
- Middleware
- Testing
- Hashing
- Http
- Client
- Events
- Exceptions
- Middleware
- Resources
- Json
- Testing
- Log
- Events
- Mail
- Events
- Mailables
- Transport
- Notifications
- Channels
- Events
- Messages
- Pagination
- Pipeline
- Process
- Exceptions
- Queue
- Capsule
- Connectors
- Console
- Events
- Failed
- Jobs
- Middleware
- Redis
- Connections
- Events
- Limiters
- Routing
- Controllers
- Events
- Exceptions
- Middleware
- Session
- Middleware
- Support
- Defer
- Testing/Fakes
- Testing
- Concerns
- Constraints
- Fluent
- Translation
- Validation
- Concerns
- Rules
- View
- Compilers
- Engines
- Middleware
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
489 files changed
+0
-500
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
0 commit comments