|
@@ 208-212 (lines=5) @@
|
| 205 |
|
|
| 206 |
|
$this->required_scope = $args['required_scope']; |
| 207 |
|
|
| 208 |
|
if ( $this->request_format ) { |
| 209 |
|
$this->request_format = array_filter( array_merge( $this->request_format, $args['request_format'] ) ); |
| 210 |
|
} else { |
| 211 |
|
$this->request_format = $args['request_format']; |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
if ( $this->response_format ) { |
| 215 |
|
$this->response_format = array_filter( array_merge( $this->response_format, $args['response_format'] ) ); |
|
@@ 214-218 (lines=5) @@
|
| 211 |
|
$this->request_format = $args['request_format']; |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
if ( $this->response_format ) { |
| 215 |
|
$this->response_format = array_filter( array_merge( $this->response_format, $args['response_format'] ) ); |
| 216 |
|
} else { |
| 217 |
|
$this->response_format = $args['response_format']; |
| 218 |
|
} |
| 219 |
|
|
| 220 |
|
if ( false === $args['query_parameters'] ) { |
| 221 |
|
$this->query = array(); |