Skip to content

Commit

Permalink
style: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
kolotov committed Aug 26, 2023
1 parent 7b4eece commit 635f086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/brain-games
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env docker-compose run php
<?php

require_once './vendor/autoload.php';
require_once './src/Cli.php';
?>
4 changes: 3 additions & 1 deletion src/Cli.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php

namespace BrainGames\Cli;

use function cli\line;
use function cli\prompt;

line('Welcome to the Brain Game!');
$name = prompt('May I have your name?');
line("Hello, %s!", $name);
line("Hello, %s!", $name);

0 comments on commit 635f086

Please sign in to comment.