Completed
Pull Request — master (#1348)
by
unknown
07:54
created
includes/class-sensei.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
      *
833 833
      * @since 1.4.5
834 834
      * @access public
835
-     * @param mixed $image_size
835
+     * @param string $image_size
836 836
      * @return string
837 837
      */
838 838
     public function get_image_size( $image_size ) {
@@ -1077,7 +1077,7 @@  discard block
 block discarded – undo
1077 1077
      * @param   integer $wc_product_id Product ID or Variation ID
1078 1078
      * @param   string  $product_type  '' or 'variation'
1079 1079
      *
1080
-     * @return   WC_Product $wc_product_object
1080
+     * @return   integer $wc_product_object
1081 1081
      */
1082 1082
     public function sensei_get_woocommerce_product_object ( $wc_product_id = 0, $product_type = '' ) {
1083 1083
 
@@ -1101,7 +1101,7 @@  discard block
 block discarded – undo
1101 1101
      * Disable guest checkout if a course product is in the cart
1102 1102
      * @deprecated since 1.9.0
1103 1103
      * @param  boolean $guest_checkout Current guest checkout setting
1104
-     * @return boolean                 Modified guest checkout setting
1104
+     * @return string|boolean                 Modified guest checkout setting
1105 1105
      */
1106 1106
     public function disable_guest_checkout( $guest_checkout ) {
1107 1107
 
@@ -1158,6 +1158,7 @@  discard block
 block discarded – undo
1158 1158
          * Returns the "Configure" plugin action link to go directly to the plugin
1159 1159
          * settings page (if any)
1160 1160
          *
1161
+         * @param string $plugin_id
1161 1162
          * @return string plugin configure link
1162 1163
          */
1163 1164
         public function get_settings_link( $plugin_id = null ) {
Please login to merge, or discard this patch.