| @@ -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(); | 
| @@ -80,7 +80,7 @@ | ||
| 80 | 80 | |
| 81 | 81 | /** | 
| 82 | 82 | * Get the product object. | 
| 83 | - * @param mixed $the_product | |
| 83 | + * @param boolean $the_product | |
| 84 | 84 | * @uses WP_Post | 
| 85 | 85 | * @return WP_Post|bool false on failure | 
| 86 | 86 | */ | 
| @@ -160,7 +160,7 @@ | ||
| 160 | 160 | * Set the current, active gateway. | 
| 161 | 161 | * | 
| 162 | 162 | * @access public | 
| 163 | - * @param array $gateway Available payment gateways. | |
| 163 | + * @param array $gateways Available payment gateways. | |
| 164 | 164 | */ | 
| 165 | 165 |  	public function set_current_gateway( $gateways ) { | 
| 166 | 166 | |
| @@ -122,7 +122,7 @@ | ||
| 122 | 122 | * | 
| 123 | 123 | * Methods should override this to declare support (or lack of support) for a feature. | 
| 124 | 124 | * | 
| 125 | - * @param $feature string The name of a feature to test support for. | |
| 125 | + * @param string $feature string The name of a feature to test support for. | |
| 126 | 126 | * @return bool True if the shipping method supports the feature, false otherwise. | 
| 127 | 127 | */ | 
| 128 | 128 |  	public function supports( $feature ) { | 
| @@ -109,7 +109,7 @@ | ||
| 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 ) ) { | 
| @@ -42,7 +42,6 @@ | ||
| 42 | 42 | /** | 
| 43 | 43 | * __set function. | 
| 44 | 44 | * @todo use set_* methods | 
| 45 | - * @param mixed $property | |
| 46 | 45 | * @param mixed $key | 
| 47 | 46 | */ | 
| 48 | 47 |  	public function __set( $key, $value ) { | 
| @@ -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(); | 
| @@ -184,7 +184,7 @@ | ||
| 184 | 184 | * | 
| 185 | 185 | * @param stdClass $user | 
| 186 | 186 | * @param array $params The request parameters. | 
| 187 | - * @return null|WP_Error | |
| 187 | + * @return stdClass | |
| 188 | 188 | */ | 
| 189 | 189 |  	private function check_oauth_signature( $user, $params ) { | 
| 190 | 190 | $http_method = strtoupper( $_SERVER['REQUEST_METHOD'] ); | 
| @@ -145,7 +145,7 @@ | ||
| 145 | 145 | * WC_TEMPLATE_DEBUG_MODE will prevent overrides in themes from taking priority. | 
| 146 | 146 | * | 
| 147 | 147 | * @access public | 
| 148 | - * @param mixed $slug | |
| 148 | + * @param string $slug | |
| 149 | 149 | * @param string $name (default: '') | 
| 150 | 150 | */ | 
| 151 | 151 |  function wc_get_template_part( $slug, $name = '' ) { |