Skip to content

Commit 1830ea4

Browse files
committed
#282 Formatting
1 parent 10ca616 commit 1830ea4

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/Loader/StrictPoLoader.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ public function loadStringExtended(
4646
string $string,
4747
Translations $translations = null,
4848
bool $throwOnWarning = false
49-
): Translations
50-
{
49+
): Translations {
5150
$this->data = $string;
5251
$this->position = 0;
5352
$this->translations = parent::loadString($string, $translations);

tests/StrictPoLoaderTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33

44
namespace Gettext\Tests;
55

6+
use Gettext\Loader\Loader;
67
use Gettext\Loader\StrictPoLoader;
78

89
class StrictPoLoaderTest extends BasePoLoaderTestCase
910
{
10-
protected function createPoLoader(): StrictPoLoader
11+
/**
12+
* @return StrictPoLoader
13+
*/
14+
protected function createPoLoader(): Loader
1115
{
1216
return new StrictPoLoader();
1317
}

0 commit comments

Comments
 (0)