Skip to content

Commit eae5889

Browse files
committed
Doc update
1 parent 381c8cb commit eae5889

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/AccessToken.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,14 @@ public static function fromResponseArray($responseArray)
165165
);
166166
}
167167

168+
/**
169+
* Specify data format for json_encode()
170+
*/
168171
public function jsonSerialize()
169172
{
170173
return [
171174
'token' => $this->getToken(),
172175
'expiresAt' => $this->getExpiresAt(),
173176
];
174177
}
175-
176-
177178
}

0 commit comments

Comments
 (0)