Skip to content

Commit 4dbf4d0

Browse files
committed
Need to honor interface
1 parent b113eda commit 4dbf4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Token/TokenSerializer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function serialize()
4242
* Unserialize token data
4343
* @return self
4444
*/
45-
public function unserialize($data)
45+
public function unserialize(array $data)
4646
{
4747
if (!isset($data['access_token'])) {
4848
throw new \InvalidArgumentException('Unable to create a RawToken without an "access_token"');

0 commit comments

Comments
 (0)