Argument #1 ($state_or_province) must be of type string, null given

Created on 19 December 2024, 4 days ago

Problem/Motivation

TypeError: FedexRest\Entity\Address::setStateOrProvince(): Argument #1 ($state_or_province) must be of type string, null given

Steps to reproduce

Use an address that has a province that's not in the array of options for one of the functions in `src/FedExAddressResolver.php`

123 Fake St
Townsville City, Queensland, 4810

Proposed resolution

Add handling for a NULL result in all of the functions

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rhovland Oregon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024