Skip to content

Commit

Permalink
Merge pull request #45 from mkurzydlowski/patch-1
Browse files Browse the repository at this point in the history
Fix property visibility in `ObjectPropertyHydrator` example (requires `public` properties)
  • Loading branch information
Ocramius authored Jan 18, 2021
2 parents 9031b46 + 31041de commit cd865fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/book/v4/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ The ObjectPropertyHydrator hydrates objects and extracts data using publicly acc
```php
class User
{
private $firstName;
private $lastName;
private $emailAddress;
private $phoneNumber;
public $firstName;
public $lastName;
public $emailAddress;
public $phoneNumber;
}

$data = [
Expand Down

0 comments on commit cd865fc

Please sign in to comment.