Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin: Add course/session report with links to tools - refs #2034 #6037

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christianbeeznest
Copy link
Contributor

No description provided.

'session_name' => $row['session_name'] ?: '-',
'course_id' => $row['course_id'],
'course_name' => $row['course_name'],
'resource_count' => (int)$row['resource_count'],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A cast statement must be followed by a single space

}

$link .= '?' . http_build_query($queryParams);
} else {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method getToolUsageReportByTools uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.

Copy link

codeclimate bot commented Jan 18, 2025

Code Climate has analyzed commit 3f27434 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 2
Clarity 1

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant