diff --git a/src/lib/Repository/Helper/NameSchemaService.php b/src/lib/Repository/Helper/NameSchemaService.php index 2ad482c492..da5ad1fb15 100644 --- a/src/lib/Repository/Helper/NameSchemaService.php +++ b/src/lib/Repository/Helper/NameSchemaService.php @@ -55,8 +55,7 @@ public function resolveNameSchema( ContentType $contentType, array $fieldMap, array $languageCodes - ): array - { + ): array { [$filteredNameSchema, $groupLookupTable] = $this->filterNameSchema($nameSchema); $tokens = $this->extractTokens($filteredNameSchema); $schemaIdentifiers = $this->getIdentifiers($nameSchema); diff --git a/tests/lib/Repository/NameSchema/NameSchemaServiceTest.php b/tests/lib/Repository/NameSchema/NameSchemaServiceTest.php index b4dd2b00ac..00f0fb366a 100644 --- a/tests/lib/Repository/NameSchema/NameSchemaServiceTest.php +++ b/tests/lib/Repository/NameSchema/NameSchemaServiceTest.php @@ -112,8 +112,7 @@ public function testResolveNameSchema( array $tokenValues, array $languageCodes, array $expectedNames - ): void - { + ): void { $content = $this->buildTestContentObject(); $nameSchema = ''; $contentType = $this->buildTestContentTypeStub($nameSchema, $nameSchema);