Completed
Push — master ( 22c301...09c3a3 )
by Dwain
10s
created
includes/class-sensei.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -825,7 +825,7 @@  discard block
 block discarded – undo
825 825
      *
826 826
      * @since 1.4.5
827 827
      * @access public
828
-     * @param mixed $image_size
828
+     * @param string $image_size
829 829
      * @return string
830 830
      */
831 831
     public function get_image_size( $image_size ) {
@@ -1051,7 +1051,7 @@  discard block
 block discarded – undo
1051 1051
      * @since  1.0.0
1052 1052
      * @param  int 			$course_id  (default: 0)
1053 1053
      * @param  array/Object $order_user (default: array()) Specific user's data.
1054
-     * @return bool|int
1054
+     * @return boolean|string
1055 1055
      */
1056 1056
     public function woocommerce_course_update ( $course_id = 0, $order_user = array()  ) {
1057 1057
 
@@ -1070,7 +1070,7 @@  discard block
 block discarded – undo
1070 1070
      * @param   integer $wc_product_id Product ID or Variation ID
1071 1071
      * @param   string  $product_type  '' or 'variation'
1072 1072
      *
1073
-     * @return   WC_Product $wc_product_object
1073
+     * @return   integer $wc_product_object
1074 1074
      */
1075 1075
     public function sensei_get_woocommerce_product_object ( $wc_product_id = 0, $product_type = '' ) {
1076 1076
 
@@ -1094,7 +1094,7 @@  discard block
 block discarded – undo
1094 1094
      * Disable guest checkout if a course product is in the cart
1095 1095
      * @deprecated since 1.9.0
1096 1096
      * @param  boolean $guest_checkout Current guest checkout setting
1097
-     * @return boolean                 Modified guest checkout setting
1097
+     * @return string|boolean                 Modified guest checkout setting
1098 1098
      */
1099 1099
     public function disable_guest_checkout( $guest_checkout ) {
1100 1100
 
Please login to merge, or discard this patch.
includes/shortcodes/class-sensei-legacy-shortcodes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      * @since 1.9.0
112 112
      *
113 113
      * @param $title
114
-     * @param $shortcode_specific_override
114
+     * @param string $shortcode_specific_override
115 115
      * @return string
116 116
      */
117 117
     public static function generate_shortcode_courses( $title , $shortcode_specific_override  ){
Please login to merge, or discard this patch.