Skip to content

Commit

Permalink
Linting: linting code
Browse files Browse the repository at this point in the history
  • Loading branch information
WunderJacob committed Dec 19, 2023
1 parent d4a84a3 commit abc519f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/external/get_lp_user_path_relations.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function execute_parameters(): external_function_parameters {
* Webservice for the local catquiz plugin to get next question.
*
* @param int $userid
* @param int $learningpathid
* @param int $learninggoalid
* @return array
*/
public static function execute($userid, $learninggoalid): array {
Expand Down Expand Up @@ -98,7 +98,7 @@ public static function execute_returns(): external_multiple_structure {
'username' => new external_value(PARAM_TEXT, 'Username'),
'firstname' => new external_value(PARAM_TEXT, 'Firstname'),
'lastname' => new external_value(PARAM_TEXT, 'Lastname'),
'progress' => new external_value(PARAM_INT, 'Item name'),
'progress' => new external_value(PARAM_TEXT, 'Item name'),
]
)
);
Expand Down
2 changes: 2 additions & 0 deletions classes/external/save_lp_user_path_relation.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public static function execute_parameters(): external_function_parameters {
* Webservice for the local catquiz plugin to get next question.
*
* @param int $learningpathid
* @param int $userid
* @param array $params
* @return array
*/
public static function execute($learninggoalid, $userid, $params): array {
Expand Down

0 comments on commit abc519f

Please sign in to comment.