@@ -372,7 +372,7 @@ |
||
372 | 372 | $request->set_parameter( 'product_taxrate_' . $x, strval( $tax_percentage * 100 ) ); |
373 | 373 | } |
374 | 374 | |
375 | - $x++; |
|
375 | + $x ++; |
|
376 | 376 | } |
377 | 377 | } |
378 | 378 |
@@ -46,8 +46,8 @@ discard block |
||
46 | 46 | * @return int|string|null |
47 | 47 | */ |
48 | 48 | public function get_parameter( $parameter ) { |
49 | - if ( isset( $this->parameters[ $parameter ] ) ) { |
|
50 | - return $this->parameters[ $parameter ]; |
|
49 | + if ( isset( $this->parameters[$parameter] ) ) { |
|
50 | + return $this->parameters[$parameter]; |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | return null; |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * @return void |
62 | 62 | */ |
63 | 63 | public function set_parameter( $parameter, $value ) { |
64 | - $this->parameters[ $parameter ] = $value; |
|
64 | + $this->parameters[$parameter] = $value; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
@@ -115,8 +115,8 @@ |
||
115 | 115 | return null; |
116 | 116 | } |
117 | 117 | |
118 | - if ( isset( self::$map[ $status ] ) ) { |
|
119 | - return self::$map[ $status ]; |
|
118 | + if ( isset( self::$map[$status] ) ) { |
|
119 | + return self::$map[$status]; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | return null; |