Skip to content

Commit 44bc8a6

Browse files
shaedrichrestuff
authored andcommitted
[13.x] Add diff to better explain adding and removing types (laravel#11154)
* Add diff to better explain adding and removing types * Use Torchlight annotation style too keep language information for syntax highlighting
1 parent 9f30c6c commit 44bc8a6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

contributions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ When the `@param` or `@return` attributes are redundant due to the use of native
142142
```php
143143
/**
144144
* Execute the job.
145+
* [tl! remove]
146+
* @return void [tl! remove]
145147
*/
146148
public function handle(AudioProcessor $processor): void
147149
{
@@ -154,8 +156,8 @@ However, when the native type is generic, please specify the generic type throug
154156
```php
155157
/**
156158
* Get the attachments for the message.
157-
*
158-
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
159+
* [tl! add]
160+
* @return array<int, \Illuminate\Mail\Mailables\Attachment> [tl! add]
159161
*/
160162
public function attachments(): array
161163
{

0 commit comments

Comments
 (0)