Skip to content

Commit

Permalink
criticalmass api will now return underscored names.
Browse files Browse the repository at this point in the history
  • Loading branch information
maltehuebner committed Jul 28, 2020
1 parent 55044d1 commit ca3ab43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/packages/jms_serializer.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
jms_serializer:
property_naming:
lower_case: true
visitors:
xml:
format_output: '%kernel.debug%'
Expand Down
2 changes: 0 additions & 2 deletions src/Model/Ride.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class Ride

/**
* @JMS\Type("DateTime<'U'>")
* @JMS\SerializedName("dateTime")
*/
protected \DateTime $dateTime;

Expand Down Expand Up @@ -45,7 +44,6 @@ class Ride

/**
* @JMS\Type("string")
* @JMS\SerializedName("disabledReasonMessage")
*/
protected ?string $disabledReasonMessage;

Expand Down

0 comments on commit ca3ab43

Please sign in to comment.