Skip to content

Commit

Permalink
forgotten impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kurowski committed Mar 8, 2023
1 parent cfe3632 commit d47ec2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Event/Response/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static function fromResponseData(array $data): self
$data['propagation']['minimum_age'],
$data['propagation']['maximum_age'],
$data['propagation']['cost'],
$data['propagation']['accommodation'],
$data['propagation']['accommodation'] !== '' ? $data['propagation']['accommodation'] : null,
$data['propagation']['working_days'],
$data['propagation']['working_hours'],
\array_map(static fn($diet) => Diet::fromScalar($diet['slug']), $data['propagation']['diets']),
Expand Down

0 comments on commit d47ec2c

Please sign in to comment.