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 @@ -84,12 +84,11 @@ private function hydrateMetadata(array $standardFields): array
84
84
{
85
85
$ result = [];
86
86
87
- foreach ($ standardFields as $ language => $ fields ) {
88
- foreach ($ fields as $ fieldName => $ fieldData ) {
89
-
87
+ foreach ($ standardFields as $ fieldName => $ data ) {
88
+ foreach ($ data as $ languageKey => $ fieldData ) {
90
89
$ result [] = new AssetMetaData (
91
90
name: $ fieldName ,
92
- language: $ language !== MappingProperty::NOT_LOCALIZED_KEY ? $ language : null ,
91
+ language: $ languageKey !== MappingProperty::NOT_LOCALIZED_KEY ? $ languageKey : null ,
93
92
data: $ fieldData ,
94
93
);
95
94
}
You can’t perform that action at this time.
0 commit comments