Skip to content

Commit e95ba10

Browse files
Add return types to tests and final|internal|private methods
1 parent fa5c5ee commit e95ba10

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

HttpHeaderSerializer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ final class HttpHeaderSerializer
2626
* Builds the value of the "Link" HTTP header.
2727
*
2828
* @param LinkInterface[]|\Traversable $links
29-
*
30-
* @return string|null
3129
*/
32-
public function serialize(iterable $links)
30+
public function serialize(iterable $links): ?string
3331
{
3432
$elements = [];
3533
foreach ($links as $link) {

0 commit comments

Comments
 (0)