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