Skip to content

Commit 19df42a

Browse files
committed
Update docblock
1 parent f49d9ba commit 19df42a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Identity.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ public function __isset(string $field): bool
9191
}
9292

9393
/**
94-
* Get data from the identity
94+
* Get data from the identity.
95+
*
96+
* You can use dot notation to fetch nested data.
97+
* Calling the method without any argument will return
98+
* the entire data array/object (same as `getOriginalData()`).
9599
*
96100
* @param string|null $field Field in the user data.
97101
* @return mixed

0 commit comments

Comments
 (0)