Skip to content

Commit 9aca31f

Browse files
khanrnmikejolley
authored andcommitted
PHPDoc @throw Added (woocommerce#20370)
1 parent 1d923bd commit 9aca31f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/class-wc-order-query.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ protected function get_default_query_vars() {
7878
* Get orders matching the current query vars.
7979
*
8080
* @return array|object of WC_Order objects
81+
*
82+
* @throws Exception When WC_Data_Store validation fails.
8183
*/
8284
public function get_orders() {
8385
$args = apply_filters( 'woocommerce_order_query_args', $this->get_query_vars() );

0 commit comments

Comments
 (0)