| @@ -63,8 +63,9 @@ | ||
| 63 | 63 | */ |
| 64 | 64 | public function getDisallowedShippingRateChoices(): array { |
| 65 | 65 | $choices = $this->product->get_meta( self::META_DISALLOWED_SHIPPING_RATES ); |
| 66 | 66 | if ( ! is_array( $choices ) ) { |
| 67 | + // TODO: log this event, really happened. | |
| 67 | 68 | return []; |
| 68 | 69 | } |
| 69 | 70 | |
| 70 | 71 | return $choices; |