Skip to content

Commit 11cf372

Browse files
committed
Fix typos
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent d56ad7e commit 11cf372

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Utility/Language.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function getTranslationsByLanguage(string $language): array
107107
*/
108108
public function translate(string $text): string
109109
{
110-
return $this->translations[$text] ?? "![${text}]";
110+
return $this->translations[$text] ?? "![{$text}]";
111111
}
112112

113113
/**

tests/DiffTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getGroupedOpcodesDataProvider(): array
5050
/**
5151
* Test the Diff::getGroupedOpcodes.
5252
*
53-
* @covers \Jfcherng\Utility\Diff::getGroupedOpcodes
53+
* @covers \Jfcherng\Diff\Diff::getGroupedOpcodes
5454
* @dataProvider getGroupedOpcodesDataProvider
5555
*
5656
* @param string $old the old

0 commit comments

Comments
 (0)