Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Feb 23, 2022
1 parent c0d22da commit 12e1c03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion play
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $attempts = $ansTries === 0

$wordListFile = filePhpReturnForPath(__DIR__ . "/app/lang/$lang/words/$wordLength.php");
$wordList = $wordListFile->var();
$randomWord = strtoupper($wordList[rand(0, count($wordList))]);
$randomWord = mb_strtoupper($wordList[rand(0, count($wordList))]);
$word = new Word($randomWord);
$climate->br()->out(
strtr(
Expand Down
4 changes: 2 additions & 2 deletions tests/CompareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
namespace Rodber\Wordle\Tests;

use Chevere\Throwable\Exceptions\LengthException;
use Chevere\Wordle\Compare;
use Chevere\Wordle\Word;
use PHPUnit\Framework\TestCase;
use Rodber\Wordle\Compare;
use Rodber\Wordle\Word;

final class CompareTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/WordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

namespace Rodber\Wordle\Tests;

use Chevere\Wordle\Word;
use PHPUnit\Framework\TestCase;
use Rodber\Wordle\Word;

final class WordTest extends TestCase
{
Expand Down

0 comments on commit 12e1c03

Please sign in to comment.