Skip to content

Commit

Permalink
minor #58356 [Serializer] make data provider static (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 6.4 branch.

Discussion
----------

[Serializer] make data provider static

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

Commits
-------

06d3ab94c2 make data provider static
  • Loading branch information
xabbuh committed Sep 26, 2024
2 parents 3aa3f0d + c860768 commit fddf7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Normalizer/Features/ContextMetadataTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function testContextMetadataContextDenormalize(string $contextMetadataDum
self::assertEquals('2011-07-28', $dummy->date->format('Y-m-d'), 'a specific denormalization context is used for this group');
}

public function contextMetadataDummyProvider(): array
public static function contextMetadataDummyProvider(): array
{
return [
[ContextMetadataDummy::class],
Expand Down

0 comments on commit fddf7ac

Please sign in to comment.