@@ 177-181 (lines=5) @@ | ||
174 | ||
175 | $this->required_scope = $args['required_scope']; |
|
176 | ||
177 | if ( $this->request_format ) { |
|
178 | $this->request_format = array_filter( array_merge( $this->request_format, $args['request_format'] ) ); |
|
179 | } else { |
|
180 | $this->request_format = $args['request_format']; |
|
181 | } |
|
182 | ||
183 | if ( $this->response_format ) { |
|
184 | $this->response_format = array_filter( array_merge( $this->response_format, $args['response_format'] ) ); |
|
@@ 183-187 (lines=5) @@ | ||
180 | $this->request_format = $args['request_format']; |
|
181 | } |
|
182 | ||
183 | if ( $this->response_format ) { |
|
184 | $this->response_format = array_filter( array_merge( $this->response_format, $args['response_format'] ) ); |
|
185 | } else { |
|
186 | $this->response_format = $args['response_format']; |
|
187 | } |
|
188 | ||
189 | if ( false === $args['query_parameters'] ) { |
|
190 | $this->query = array(); |