Skip to content

Commit f61208f

Browse files
committed
Improve type hints
1 parent f650196 commit f61208f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Functional/listt.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ function fromNil(): Listt
113113
*
114114
* @return Listt
115115
*/
116-
function concat(Foldable $xs)
116+
function concat(Foldable $xs): Listt
117117
{
118-
return foldr(function ($x, Listt $y) {
118+
return foldr(function (Foldable $x, Listt $y) {
119119
return foldr(prepend, $y, $x);
120120
}, fromNil(), $xs);
121121
}

0 commit comments

Comments
 (0)