Skip to content

Commit 3529d8f

Browse files
committed
Updating types definitions
1 parent f544149 commit 3529d8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Hydrators/Hydrator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ abstract class Hydrator
9898
* Will transfer the `foo` resource attribute to the model `foo` attribute, and the
9999
* resource `bar` attribute to the model `baz` attribute.
100100
*
101-
* @var Array<mixed>
101+
* @var Array<int|string, string>
102102
*/
103103
protected array $attributes = [];
104104

@@ -117,7 +117,7 @@ abstract class Hydrator
117117
* Will transfer the `foo` resource attribute to the model `foo` attribute, and the
118118
* resource `bar` attribute to the model `baz` attribute.
119119
*
120-
* @var Array<mixed>
120+
* @var Array<int|string, string>
121121
*/
122122
protected array $compositedAttributes = [];
123123

@@ -128,13 +128,13 @@ abstract class Hydrator
128128
*/
129129
protected array $relationships = [];
130130

131-
/** @var Array<mixed>|null */
131+
/** @var Array<string, string>|null */
132132
private array|null $normalizedAttributes = null;
133133

134-
/** @var Array<mixed>|null */
134+
/** @var Array<string, string>|null */
135135
private array|null $normalizedCompositedAttributes = null;
136136

137-
/** @var Array<mixed>|null */
137+
/** @var Array<string, string>|null */
138138
private array|null $normalizedRelationships = null;
139139

140140
private Common\Annotations\Reader $annotationReader;

0 commit comments

Comments
 (0)