Skip to content

Commit c82d95e

Browse files
committed
ECS: Fix code style violations
1 parent c0f7073 commit c82d95e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

components/ILIAS/WebServices/ECS/classes/class.ilECSObjectSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ private function handleSettings(
353353
$mids = array();
354354
foreach ((array) $selected_receivers as $sid_mid) {
355355
$tmp = explode('_', $sid_mid);
356-
if(1 === count($tmp)) {
356+
if (1 === count($tmp)) {
357357
$mids[$tmp[0]][] = $tmp[0];
358358
} else {
359359
$mids[$tmp[0]][] = $tmp[1];

components/ILIAS/WebServices/ECS/classes/class.ilRemoteObjectBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ protected function importMetadataFromJson(object $a_json, ilECSSetting $a_server
444444
if (!$adv_md_def) {
445445
continue;
446446
}
447-
if (property_exists($a_json, $target)){
447+
if (property_exists($a_json, $target)) {
448448
$raw_value = $a_json->{$target};
449449
} else {
450450
$raw_value = '';

0 commit comments

Comments
 (0)