Skip to content

Commit

Permalink
Update OrdersAutosuggest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
BrookeDot authored Feb 13, 2025
1 parent fcd6276 commit 2f1a930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/Feature/WooCommerce/OrdersAutosuggest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class OrdersAutosuggest {
*
* @param WooCommerce|null $woocommerce WooCommerce feature object instance
*/
public function __construct( $woocommerce = null ) {
public function __construct( ?WooCommerce $woocommerce = null ) {
$this->index = Indexables::factory()->get( 'post' )->get_index_name();
$this->woocommerce = $woocommerce ?
$woocommerce :
Expand Down

0 comments on commit 2f1a930

Please sign in to comment.