Skip to content

Commit a7597c2

Browse files
committed
Fix src/Cli.php, bug fix
1 parent 6209440 commit a7597c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function sayGreeting(string $gameDescription = ''): string
1010
line('Welcome to the Brain Games!');
1111
$name = prompt('May I have your name?');
1212
line("Hello, $name!");
13-
if ($gameDescription==='') {
13+
if ($gameDescription!=='') {
1414
line($gameDescription);
1515
}
1616
return $name;

0 commit comments

Comments
 (0)