Skip to content

Commit

Permalink
Update reading-data.md (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasMorasch authored Jan 15, 2025
1 parent 4399f17 commit 37eab9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ E.g.: Fetch all products, whose name is `Example product`, but also return the t
In that case, you can just use the `addPostFilter` instead of `addFilter`:

```php
public function readData(): void
public function readData(Context $context): void
{
$criteria = new Criteria();
$criteria->addPostFilter(new EqualsFilter('name', 'Example name'));
Expand Down

0 comments on commit 37eab9b

Please sign in to comment.