Correcion de code style

This commit is contained in:
Brayan Osmar Pereyra Suxo
2014-01-28 11:34:07 -04:00
parent 6f7a7af500
commit 2cafabae69
5 changed files with 11 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ class Event
if ($sEventUID != '' && empty($eventsArray)) { if ($sEventUID != '' && empty($eventsArray)) {
throw (new \Exception( 'This row doesn\'t exist!' )); throw (new \Exception( 'This row doesn\'t exist!' ));
} else if ($sEventUID != '' && !empty($eventsArray)) { } elseif ($sEventUID != '' && !empty($eventsArray)) {
return current($eventsArray); return current($eventsArray);
} }
return $eventsArray; return $eventsArray;

View File

@@ -172,7 +172,7 @@ class ProcessPermissions
if ($sPermissionUid != '' && empty($aObjectsPermissions)) { if ($sPermissionUid != '' && empty($aObjectsPermissions)) {
throw (new \Exception( 'This row doesn\'t exist!' )); 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); $aObjectsPermissions = array_change_key_case($aObjectsPermissions, CASE_LOWER);
return current($aObjectsPermissions); return current($aObjectsPermissions);
} }

View File

@@ -257,3 +257,4 @@ class ActivityPropertiesStructure
*/ */
public $tas_def_message_template; public $tas_def_message_template;
} }

View File

@@ -157,3 +157,4 @@ class DataBaseConnection extends Api
} }
} }
} }