You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The requirement for the latest version of this package is "PHP 7.3 and later" but PHP 7.X doesn't support Enums so I am getting errors on serialization.
Expected Behavior
The package should work normally on PHP 7 or the requirement should be different.
Summary
The requirement for the latest version of this package is "PHP 7.3 and later" but PHP 7.X doesn't support Enums so I am getting errors on serialization.
Expected Behavior
The package should work normally on PHP 7 or the requirement should be different.
Current Behavior
syntax error, unexpected 'PostcardSize' (T_STRING)
PostcardSize is an Enum
Steps to Reproduce
(new LettersApi($config, $guzzleClient))->create(new LetterEditable($data));
--> Exception: syntax error, unexpected 'PostcardSize' (T_STRING)
--> /var/www/vendor/lob/lob-php/lib/ObjectSerializer.php:93
--> FYI: $data['size'] === "4x6";
Context (Environment)
The text was updated successfully, but these errors were encountered: