Commit 7e1731e0 authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Fix codeformat

parent 9379d507
......@@ -76,16 +76,14 @@ class RegistrationService implements SingletonInterface {
$accessGroup['entities'] = [];
foreach ($entitiesConfiguration as $entity => $entityConfiguration) {
if(isset($entityConfiguration['write'])) {
if (isset($entityConfiguration['write'])) {
$writeFields = GeneralUtility::trimExplode(',', $entityConfiguration['write'], TRUE);
}
else {
} else {
$writeFields = [];
}
if(isset($entityConfiguration['read'])) {
if (isset($entityConfiguration['read'])) {
$readFields = GeneralUtility::trimExplode(',', $entityConfiguration['read'], TRUE);
}
else {
} else {
$readFields = [];
}
......@@ -93,7 +91,7 @@ class RegistrationService implements SingletonInterface {
'write' => $writeFields,
'read' => array_merge($writeFields, $readFields),
'httpPermissions' => $this->getHttpPermissionsConfiguration($entityConfiguration),
'classFQN' => isset($entityConfiguration['classFQN']) ? $entityConfiguration['classFQN']: ''
'classFQN' => isset($entityConfiguration['classFQN']) ? $entityConfiguration['classFQN'] : ''
];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment