Skip to content

Commit 9cfadf9

Browse files
committed
Fix exemple in readme
1 parent cce8a54 commit 9cfadf9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ or update your `composer.json`
2727

2828
require __DIR__ . '/vendor/autoload.php';
2929

30-
use Codedungeon\Colors;
30+
use Codedungeon\PHPCliColors\Color;
3131

32-
echo Color::GREEN . "Hello" . PHP_EOL;
32+
echo Color::GREEN, 'Hello', Color::RESET, PHP_EOL;
3333
```
34+
![above exemple](resources/readme.png)
3435

3536
See `rainbow.php` sample for more details
3637

resources/readme.png

2.37 KB
Loading

0 commit comments

Comments
 (0)