Skip to content

Commit

Permalink
Add new method documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 6, 2024
1 parent 6196fa7 commit ed13490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/Support/Concerns/Serializable.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
trait Serializable
{
/** @inheritDoc */
/** Default implementation to dynamically serialize all public properties. Can be overridden for increased control. */
public function toArray(): array
{
// Calling the function from a different scope means we only get the public properties.
Expand Down

0 comments on commit ed13490

Please sign in to comment.