Correcion de code style
This commit is contained in:
@@ -71,7 +71,7 @@ class Event
|
||||
|
||||
if ($sEventUID != '' && empty($eventsArray)) {
|
||||
throw (new \Exception( 'This row doesn\'t exist!' ));
|
||||
} else if ($sEventUID != '' && !empty($eventsArray)) {
|
||||
} elseif ($sEventUID != '' && !empty($eventsArray)) {
|
||||
return current($eventsArray);
|
||||
}
|
||||
return $eventsArray;
|
||||
|
||||
@@ -172,7 +172,7 @@ class ProcessPermissions
|
||||
|
||||
if ($sPermissionUid != '' && empty($aObjectsPermissions)) {
|
||||
throw (new \Exception( 'This row doesn\'t exist!' ));
|
||||
} else if ($sPermissionUid != '' && !empty($aObjectsPermissions)) {
|
||||
} elseif ($sPermissionUid != '' && !empty($aObjectsPermissions)) {
|
||||
$aObjectsPermissions = array_change_key_case($aObjectsPermissions, CASE_LOWER);
|
||||
return current($aObjectsPermissions);
|
||||
}
|
||||
|
||||
@@ -257,3 +257,4 @@ class ActivityPropertiesStructure
|
||||
*/
|
||||
public $tas_def_message_template;
|
||||
}
|
||||
|
||||
|
||||
@@ -157,3 +157,4 @@ class DataBaseConnection extends Api
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user