Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed May 3, 2024
1 parent 02e97d8 commit 57b7686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/as-a-resource/lazy-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class AlbumData extends Data
public function includeProperties(): array
{
return [
'songs' => count($this->songs) > 0,
'songs' => $this->title === 'Together Forever',
];
}
}
Expand All @@ -264,7 +264,7 @@ class AlbumData extends Data
public function includeProperties(): array
{
return [
'songs.title' => count($this->songs) > 0,
'songs.title' => $this->title === 'Together Forever',
];
}
}
Expand Down

0 comments on commit 57b7686

Please sign in to comment.