Skip to content

Commit c765881

Browse files
PSR-2
1 parent 156813d commit c765881

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Transformer/FractalTransformer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,11 @@ public function getFractal()
150150
}
151151

152152
/**
153-
* Get includes as their array keys for eager loading
153+
* Get includes as their array keys for eager loading.
154154
*
155-
* @param array|string $requestedIncludes
156-
* @return array
155+
* @param string|string[] $requestedIncludes
156+
*
157+
* @return string[]
157158
*/
158159
public function getEagerLoads($transformer, $requestedIncludes)
159160
{
@@ -178,5 +179,4 @@ public function getEagerLoads($transformer, $requestedIncludes)
178179

179180
return $eagerLoads;
180181
}
181-
182182
}

0 commit comments

Comments
 (0)