Skip to content

Commit df39f3b

Browse files
committed
test: fix failing test
1 parent 20ea224 commit df39f3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Greeter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
namespace App;
33

44
class Greeter {
5-
public function greet(?string $n = null):string {
6-
if($n) {
7-
return "Hello, $n!";
5+
public function greet(?string $name = null):string {
6+
if($name) {
7+
return "Hello, $name!";
88
}
99

1010
return "Hello!";

0 commit comments

Comments
 (0)