Skip to content

Commit

Permalink
Merge pull request #176 from miteyema/patch-1
Browse files Browse the repository at this point in the history
[Docs] change create to from (bis)
  • Loading branch information
rubenvanassche authored Jul 29, 2022
2 parents 63bdbde + 2a49030 commit 2b81fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/as-a-resource/from-data-to-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class UserData extends Data
return new self(
$user->title,
$user->email,
SongData::create($user->favorite_song)
SongData::from($user->favorite_song)
);
}
}
Expand Down

0 comments on commit 2b81fc4

Please sign in to comment.