Skip to content

Commit

Permalink
Merge branch '1.1' into 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig committed Sep 27, 2024
2 parents 1757342 + a266675 commit ca70b28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: "Upload baseline file"
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: phpstan-baseline.neon
path: phpstan-baseline.neon
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"symfony/messenger": "^6.4"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"codeception/codeception": "^5.0.10",
"codeception/phpunit-wrapper": "^9",
"codeception/module-asserts": "^2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,11 @@ private function hydrateMetadata(array $standardFields): array
{
$result = [];

foreach ($standardFields as $language => $fields) {
foreach ($fields as $fieldName => $fieldData) {

foreach ($standardFields as $fieldName => $data) {
foreach ($data as $languageKey => $fieldData) {
$result[] = new AssetMetaData(
name: $fieldName,
language: $language !== MappingProperty::NOT_LOCALIZED_KEY ? $language : null,
language: $languageKey !== MappingProperty::NOT_LOCALIZED_KEY ? $languageKey : null,
data: $fieldData,
);
}
Expand Down

0 comments on commit ca70b28

Please sign in to comment.