We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 821d236 + 7a8c564 commit 7626efbCopy full SHA for 7626efb
src/Instagram/Hydrator/ProfileAlternativeHydrator.php
@@ -26,7 +26,7 @@ public function __construct()
26
*/
27
public function hydrateProfile(\StdClass $data): void
28
{
29
- $this->profile->setId($data->pk);
+ $this->profile->setId((int)$data->pk);
30
$this->profile->setUserName($data->username);
31
$this->profile->setFullName($data->full_name);
32
$this->profile->setFollowers($data->follower_count ?? 0);
0 commit comments