Skip to content

Commit 23d8c3b

Browse files
committed
Minor - Format code
1 parent c623b96 commit 23d8c3b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

main/course_home/last_course.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
$result = Database::query($sql);
2222

23-
if (Database::num_rows($result )) {
23+
if (Database::num_rows($result)) {
2424
$result = Database::fetch_array($result, 'ASSOC');
2525
$courseId = (int) $result['c_id'];
2626
$sessionId = (int) $result['session_id'];

src/Chamilo/CoreBundle/Component/Utils/ChamiloApi.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,12 @@ public static function getPlatformLogoPath($theme = '', $getSysPath = false, $fo
167167
*
168168
* @return string
169169
*/
170-
public static function getPlatformLogo($theme = '', $imageAttributes = [], $getSysPath = false, $forcedGetter = false)
171-
{
170+
public static function getPlatformLogo(
171+
$theme = '',
172+
$imageAttributes = [],
173+
$getSysPath = false,
174+
$forcedGetter = false
175+
) {
172176
$logoPath = self::getPlatformLogoPath($theme, $getSysPath, $forcedGetter);
173177
$institution = api_get_setting('Institution');
174178
$institutionUrl = api_get_setting('InstitutionUrl');

0 commit comments

Comments
 (0)