@@ 202-206 (lines=5) @@ | ||
199 | ||
200 | $this->required_scope = $args['required_scope']; |
|
201 | ||
202 | if ( $this->request_format ) { |
|
203 | $this->request_format = array_filter( array_merge( $this->request_format, $args['request_format'] ) ); |
|
204 | } else { |
|
205 | $this->request_format = $args['request_format']; |
|
206 | } |
|
207 | ||
208 | if ( $this->response_format ) { |
|
209 | $this->response_format = array_filter( array_merge( $this->response_format, $args['response_format'] ) ); |
|
@@ 208-212 (lines=5) @@ | ||
205 | $this->request_format = $args['request_format']; |
|
206 | } |
|
207 | ||
208 | if ( $this->response_format ) { |
|
209 | $this->response_format = array_filter( array_merge( $this->response_format, $args['response_format'] ) ); |
|
210 | } else { |
|
211 | $this->response_format = $args['response_format']; |
|
212 | } |
|
213 | ||
214 | if ( false === $args['query_parameters'] ) { |
|
215 | $this->query = array(); |