Skip to content

Commit 8a21b2e

Browse files
authored
Add return type (#17)
1 parent 87e1a97 commit 8a21b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/StartpageController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct(
1818
) {
1919
}
2020

21-
public function index($version)
21+
public function index($version): Response
2222
{
2323
if (str_ends_with($version, '.html')) {
2424
$version = substr($version, 0, -5);

0 commit comments

Comments
 (0)