-
Notifications
You must be signed in to change notification settings - Fork 47
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
I couldnt get to run any of the examples . #8
Comments
Thanks for the previous commit |
Right, are you running with strict_types enabled? Check out my latest commit. Regards |
No,I am not maybe.Do you have an IM handle something or Can I get your email? |
Did you try the latest commit? (the amended one). You can reach me at nicklas.wallgren@gmail.com. |
Yes I tried latest .. |
Well, you shouldn't get the same type of error with the latest commit. I have tried with two different accounts and It works fine. |
Closing this issue. Could not reproduce. |
Fatal error: Uncaught TypeError: Return value of Instagram\SDK\DTO\Direct\ThreadItem::getUserId() must be of the type integer, float returned in C:\xampp\vendor\nicklasw\instagram-api\src\DTO\Direct\ThreadItem.php:77
Stack trace:
#0 C:\xampp\vendor\nicklasw\instagram-api\src\Responses\Serializers\Traits\OnPropagateDecodeEventTrait.php(199): Instagram\SDK\DTO\Direct\ThreadItem->getUserId()
#1 C:\xampp\vendor\nicklasw\instagram-api\src\Responses\Serializers\Traits\OnPropagateDecodeEventTrait.php(173): Instagram\SDK\DTO\Direct\Thread->getRequirementParameterValue(Object(Instagram\SDK\DTO\Direct\ThreadItem), 'userId')
#2 [internal function]: Instagram\SDK\DTO\Direct\Thread->Instagram\SDK\Responses\Serializers\Traits{closure}('userId')
#3 C:\xampp\vendor\nicklasw\instagram-api\src\Responses\Serializers\Traits\OnPropagateDecodeEventTrait.php(174): array_map(Object(Closure), Array)
#4 C:\xampp\vendor\nicklasw\instagram-api\src\Responses\Serializers\Traits\OnPropagateDecodeEventTrait.php(144): Instagram\SDK\DTO\Direct\Thread->ge in C:\xampp\vendor\nicklasw\instagram-api\src\DTO\Direct\ThreadItem.php on line 77
The text was updated successfully, but these errors were encountered: