File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
src/Service/Serializer/Denormalizer/Search Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 60
60
61
61
- name : " Upload baseline file"
62
62
if : ${{ failure() }}
63
- uses : actions/upload-artifact@v2
63
+ uses : actions/upload-artifact@v4
64
64
with :
65
65
name : phpstan-baseline.neon
66
66
path : phpstan-baseline.neon
Original file line number Diff line number Diff line change 26
26
"symfony/messenger" : " ^6.4"
27
27
},
28
28
"require-dev" : {
29
- "roave/security-advisories" : " dev-latest" ,
30
29
"codeception/codeception" : " ^5.0.10" ,
31
30
"codeception/phpunit-wrapper" : " ^9" ,
32
31
"codeception/module-asserts" : " ^2" ,
Original file line number Diff line number Diff line change @@ -92,12 +92,11 @@ private function hydrateMetadata(array $standardFields): array
92
92
{
93
93
$ result = [];
94
94
95
- foreach ($ standardFields as $ language => $ fields ) {
96
- foreach ($ fields as $ fieldName => $ fieldData ) {
97
-
95
+ foreach ($ standardFields as $ fieldName => $ data ) {
96
+ foreach ($ data as $ languageKey => $ fieldData ) {
98
97
$ result [] = new AssetMetaData (
99
98
name: $ fieldName ,
100
- language: $ language !== MappingProperty::NOT_LOCALIZED_KEY ? $ language : null ,
99
+ language: $ languageKey !== MappingProperty::NOT_LOCALIZED_KEY ? $ languageKey : null ,
101
100
data: $ fieldData ,
102
101
);
103
102
}
You can’t perform that action at this time.
0 commit comments