diff --git a/src/User.php b/src/User.php index eca3554..e6b09d1 100644 --- a/src/User.php +++ b/src/User.php @@ -84,7 +84,7 @@ public function setRaw(array $user): self public function getRaw(): array { - return $this->getAttribute('raw'); + return $this->getAttribute('raw', []); } public function setTokenResponse(array $response): self