@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * should be used. It is possible, but the aforementioned are preferred and are the only. |
| 97 | 97 | * methods that will be maintained going forward. |
| 98 | 98 | * |
| 99 | - * @param int|object|WC_Order $order Order to init. |
|
| 99 | + * @param integer $order Order to init. |
|
| 100 | 100 | */ |
| 101 | 101 | public function __construct( $order = 0 ) { |
| 102 | 102 | $this->prices_include_tax = get_option('woocommerce_prices_include_tax') == 'yes' ? true : false; |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Init/load the order object. Called from the constructor. |
| 111 | 111 | * |
| 112 | - * @param int|object|WC_Order $order Order to init. |
|
| 112 | + * @param integer $order Order to init. |
|
| 113 | 113 | */ |
| 114 | 114 | protected function init( $order ) { |
| 115 | 115 | if ( is_numeric( $order ) ) { |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | /** |
| 202 | 202 | * Parse file path and see if its remote or local. |
| 203 | 203 | * @param string $file_path |
| 204 | - * @return array |
|
| 204 | + * @return string |
|
| 205 | 205 | */ |
| 206 | 206 | public static function parse_file_path( $file_path ) { |
| 207 | 207 | $wp_uploads = wp_upload_dir(); |