Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You must define a type for CdekSDK2\\Dto\\PickupPointList::$items #4

Closed
fxpw opened this issue Feb 29, 2024 · 2 comments
Closed

You must define a type for CdekSDK2\\Dto\\PickupPointList::$items #4

fxpw opened this issue Feb 29, 2024 · 2 comments

Comments

@fxpw
Copy link

fxpw commented Feb 29, 2024

зашаренная ошибка
https://flareapp.io/share/87ndlkem

php83
из стактрейса он уходит в функцию
image

$body = '{"items":' . $response->getBody() . '}';
return $this->serializer->deserialize($body, $className, 'json');

но раньше есть проверка что класс существует, но сам jms не может найти его описание

@fxpw
Copy link
Author

fxpw commented Feb 29, 2024

schmittjoh/serializer#1537
нашел в чем проблема, jms переместили в dev doctrine/annotations, без пакета выбивает эту ошибку

TTATPuOT added a commit that referenced this issue Mar 7, 2024
TTATPuOT added a commit that referenced this issue Mar 7, 2024
@TTATPuOT
Copy link
Owner

TTATPuOT commented Mar 7, 2024

Жёстко ограничил зависимость от jms/serializer и doctrine/annotations в 1.2.0. Спасибо большое за репорт!

@TTATPuOT TTATPuOT closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants