Skip to content

Commit

Permalink
Update wrapping.md
Browse files Browse the repository at this point in the history
push use statement to the next line
  • Loading branch information
kimulisiraj authored May 4, 2024
1 parent e77184f commit 2491c5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/as-a-resource/wrapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ UserData::from(User::first())->wrap('data');
A data collection inside a data object WILL get wrapped when a wrapping key is set:

```php
use Spatie\LaravelData\Attributes\DataCollectionOf;use Spatie\LaravelData\DataCollection;
use Spatie\LaravelData\Attributes\DataCollectionOf;
use Spatie\LaravelData\DataCollection;

class AlbumData extends Data
{
Expand Down

0 comments on commit 2491c5c

Please sign in to comment.