Completed
Push — master ( eccc4a...c847f3 )
by Dwain
04:57
created
includes/class-sensei-wc.php 1 patch
Doc Comments   +8 added lines, -7 removed lines patch added patch discarded remove patch
@@ -973,7 +973,7 @@  discard block
 block discarded – undo
973 973
      * @since   1.2.0
974 974
      * @since  1.9.0 move to class Sensei_WC
975 975
      *
976
-     * @param   WC_Order $order
976
+     * @param   integer $order
977 977
      *
978 978
      * @return  void
979 979
      */
@@ -1191,6 +1191,7 @@  discard block
 block discarded – undo
1191 1191
      * @since   1.2.0
1192 1192
      * @since   1.9.0 Move function to the Sensei_WC class
1193 1193
      * @param   integer| WC_Order $order_id order ID
1194
+     * @param integer $order_id
1194 1195
      * @return  void
1195 1196
      */
1196 1197
     public static function cancel_order ( $order_id ) {
@@ -1309,7 +1310,7 @@  discard block
 block discarded – undo
1309 1310
      * @param  int 			$course_id  (default: 0)
1310 1311
      * @param  array/Object $order_user (default: array()) Specific user's data.
1311 1312
      *
1312
-     * @return bool|int
1313
+     * @return boolean|string
1313 1314
      */
1314 1315
     public static function course_update ( $course_id = 0, $order_user = array()  ) {
1315 1316
 
@@ -1381,7 +1382,7 @@  discard block
 block discarded – undo
1381 1382
      *
1382 1383
      * @param  boolean $guest_checkout Current guest checkout setting
1383 1384
      *
1384
-     * @return boolean                 Modified guest checkout setting
1385
+     * @return string|boolean                 Modified guest checkout setting
1385 1386
      */
1386 1387
     public static function disable_guest_checkout( $guest_checkout ) {
1387 1388
 
@@ -1555,7 +1556,7 @@  discard block
 block discarded – undo
1555 1556
      * Get all the valid subscription types.
1556 1557
      *
1557 1558
      * @since 1.9.0
1558
-     * @return array
1559
+     * @return string[]
1559 1560
      */
1560 1561
     public static function get_subscription_types(){
1561 1562
 
@@ -1573,8 +1574,8 @@  discard block
 block discarded – undo
1573 1574
      *
1574 1575
      * @since 1.9.0
1575 1576
      *
1576
-     * @param $user_id
1577
-     * @param $product_id
1577
+     * @param integer $user_id
1578
+     * @param string $product_id
1578 1579
      * @param $course_id
1579 1580
      *
1580 1581
      * @return bool
@@ -1638,7 +1639,7 @@  discard block
 block discarded – undo
1638 1639
 	 * Get all the orders for a specific user and product combination
1639 1640
 	 *
1640 1641
 	 * @param int $user_id
1641
-	 * @param $product_id
1642
+	 * @param integer $product_id
1642 1643
 	 *
1643 1644
 	 * @return array $orders
1644 1645
 	 */
Please login to merge, or discard this patch.