@@ -2898,7 +2898,7 @@ |
||
| 2898 | 2898 | * @access public |
| 2899 | 2899 | * |
| 2900 | 2900 | * @param int $lesson_id |
| 2901 | - * @return int|bool $course_id or bool when nothing is found. |
|
| 2901 | + * @return integer $course_id or bool when nothing is found. |
|
| 2902 | 2902 | */ |
| 2903 | 2903 | public function get_course_id( $lesson_id ){ |
| 2904 | 2904 | |
@@ -796,7 +796,7 @@ |
||
| 796 | 796 | * Return an array of field types expecting an array value returned. |
| 797 | 797 | * @access protected |
| 798 | 798 | * @since 1.0.0 |
| 799 | - * @return array |
|
| 799 | + * @return string[] |
|
| 800 | 800 | */ |
| 801 | 801 | protected function get_array_field_types () { |
| 802 | 802 | return array( 'multicheck' ); |
@@ -452,7 +452,7 @@ discard block |
||
| 452 | 452 | * @since 1.8.0 |
| 453 | 453 | * @access public |
| 454 | 454 | * @parameters |
| 455 | - * @return array $users user id array |
|
| 455 | + * @return boolean $users user id array |
|
| 456 | 456 | */ |
| 457 | 457 | public function update_course_lessons_author ( $course_id, $new_author ){ |
| 458 | 458 | |
@@ -841,8 +841,7 @@ discard block |
||
| 841 | 841 | * This function hooks into wp_insert_post |
| 842 | 842 | * |
| 843 | 843 | * @since 1.8.0 |
| 844 | - * @param int $course_id |
|
| 845 | - * @return bool |
|
| 844 | + * @return false|null |
|
| 846 | 845 | */ |
| 847 | 846 | public function notify_admin_teacher_course_creation( $new_status, $old_status, $post ){ |
| 848 | 847 | |
@@ -1424,8 +1424,8 @@ discard block |
||
| 1424 | 1424 | * |
| 1425 | 1425 | * @global type $woothemes_sensei |
| 1426 | 1426 | * @global type $wpdb |
| 1427 | - * @param type $n |
|
| 1428 | - * @param type $offset |
|
| 1427 | + * @param integer $n |
|
| 1428 | + * @param integer $offset |
|
| 1429 | 1429 | * @return boolean |
| 1430 | 1430 | */ |
| 1431 | 1431 | function status_changes_repair_course_statuses( $n = 50, $offset = 0 ) { |
@@ -1669,8 +1669,8 @@ discard block |
||
| 1669 | 1669 | * Update the comment counts for all Courses and Lessons now that sensei comments will no longer be counted. |
| 1670 | 1670 | * |
| 1671 | 1671 | * @global type $wpdb |
| 1672 | - * @param type $n |
|
| 1673 | - * @param type $offset |
|
| 1672 | + * @param integer $n |
|
| 1673 | + * @param integer $offset |
|
| 1674 | 1674 | * @return boolean |
| 1675 | 1675 | */ |
| 1676 | 1676 | public function update_comment_course_lesson_comment_counts( $n = 50, $offset = 0 ) { |