File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ class Identity implements IdentityInterface
4444 /**
4545 * Identity data
4646 *
47- * @var \ArrayAccess|array
47+ * @var \ArrayAccess<string, mixed> |array<string, mixed>
4848 */
4949 protected ArrayAccess |array $ data ;
5050
5151 /**
5252 * Constructor
5353 *
54- * @param \ArrayAccess|array $data Identity data
54+ * @param \ArrayAccess<string, mixed> |array<string, mixed> $data Identity data
5555 * @param array<string, mixed> $config Config options
5656 */
5757 public function __construct (ArrayAccess |array $ data , array $ config = [])
Original file line number Diff line number Diff line change 2121/**
2222 * Identity interface
2323 *
24- * @template-extends \ArrayAccess<array-key, \Authentication\IdentityInterface >
24+ * @template-extends \ArrayAccess<string, mixed >
2525 */
2626interface IdentityInterface extends ArrayAccess
2727{
@@ -35,7 +35,7 @@ public function getIdentifier(): array|string|int|null;
3535 /**
3636 * Gets the original data object.
3737 *
38- * @return \ArrayAccess|array
38+ * @return \ArrayAccess<string, mixed> |array<string, mixed>
3939 */
4040 public function getOriginalData (): ArrayAccess |array ;
4141}
You can’t perform that action at this time.
0 commit comments