tweak docblock

This commit is contained in:
Mike Jolley 2015-01-30 14:30:10 +00:00
parent a3e323f4e0
commit 6bc269858a
1 changed files with 2 additions and 7 deletions

View File

@ -5,7 +5,6 @@
* The WooCommerce order class handles order data.
*
* @class WC_Order
* @var WP_Post
* @version 2.2.0
* @package WooCommerce/Classes
* @category Class
@ -42,10 +41,7 @@ abstract class WC_Abstract_Order {
/** @public int Order (post) ID */
public $id = 0;
/**
* @public $post Stores post data
* @var WP_Post
*/
/** @var WP_Post $post */
public $post = null;
/** @public string Order type */
@ -103,8 +99,7 @@ abstract class WC_Abstract_Order {
/**
* Init/load the order object. Called from the constructor.
*
* @param int|WP_POST|WC_Order $order Order to init
* @var WP_POST
* @param int|WP_Post|WC_Order $order Order to init
*/
protected function init( $order ) {
if ( is_numeric( $order ) ) {