[Bug]: Typo in parcel weight property PHPDoc
aaronjewell opened this issue · comments
Aaron Jewell commented
Software Version
6.3.0
Language Version
8.1
Operating System
Linux
What happened?
- Create an instance of
EasyPost\Parcel
- Access the
$weight
public property - Analyze the code with static analysis (PHPStan/Psalm) or use an IDE with built-in Language Server
$weight
property is not defined.
What was expected?
$weight
is a valid property on the EasyPost\Parcel
class
Sample Code
$parcel = EasyPost\Parcel::retrieve('<id>');
echo $parcel->weight; // property is not defined in ide/static analysis
Relevant logs
No response
Aaron Jewell commented
Submitting a PR shortly.