@@ -84,7 +84,7 @@ class CourseRestorer
84
84
85
85
/**
86
86
* CourseRestorer constructor.
87
- * @param array $course
87
+ * @param Course $course
88
88
*/
89
89
public function __construct ($ course )
90
90
{
@@ -133,7 +133,7 @@ public function set_tool_copy_settings($array)
133
133
* @param int $session_id
134
134
* @param bool $update_course_settings Course settings are going to be restore?
135
135
* @param bool $respect_base_content
136
- * @return bool
136
+ * @return false|null
137
137
*/
138
138
public function restore (
139
139
$ destination_course_code = '' ,
@@ -1154,6 +1154,7 @@ public function restore_forum_category($my_id = null, $sessionId = 0)
1154
1154
1155
1155
/**
1156
1156
* Restore a forum-topic
1157
+ * @param false|string $forum_id
1157
1158
*/
1158
1159
public function restore_topic ($ thread_id , $ forum_id , $ sessionId = 0 )
1159
1160
{
@@ -1210,6 +1211,7 @@ public function restore_topic($thread_id, $forum_id, $sessionId = 0)
1210
1211
/**
1211
1212
* Restore a forum-post
1212
1213
* @TODO Restore tree-structure of posts. For example: attachments to posts.
1214
+ * @param false|string $topic_id
1213
1215
*/
1214
1216
public function restore_post ($ id , $ topic_id , $ forum_id , $ sessionId = 0 )
1215
1217
{
@@ -2306,6 +2308,7 @@ public function restore_surveys($sessionId = 0)
2306
2308
2307
2309
/**
2308
2310
* Check availability of a survey code
2311
+ * @param string $survey_code
2309
2312
*/
2310
2313
public function is_survey_code_available ($ survey_code )
2311
2314
{
@@ -2320,6 +2323,7 @@ public function is_survey_code_available($survey_code)
2320
2323
2321
2324
/**
2322
2325
* Restore survey-questions
2326
+ * @param string $survey_id
2323
2327
*/
2324
2328
public function restore_survey_question ($ id , $ survey_id )
2325
2329
{
@@ -2776,6 +2780,8 @@ public function restore_student_publication($sessionId = 0)
2776
2780
* @param string The path origin
2777
2781
* @param string The path destination
2778
2782
* @param boolean Option Overwrite
2783
+ * @param string $source
2784
+ * @param string $dest
2779
2785
* @return void()
2780
2786
* @deprecated
2781
2787
*/
0 commit comments