Skip to content

Commit

Permalink
#282 Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Jul 24, 2022
1 parent 10ca616 commit 1830ea4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Loader/StrictPoLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public function loadStringExtended(
string $string,
Translations $translations = null,
bool $throwOnWarning = false
): Translations
{
): Translations {
$this->data = $string;
$this->position = 0;
$this->translations = parent::loadString($string, $translations);
Expand Down
6 changes: 5 additions & 1 deletion tests/StrictPoLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@

namespace Gettext\Tests;

use Gettext\Loader\Loader;
use Gettext\Loader\StrictPoLoader;

class StrictPoLoaderTest extends BasePoLoaderTestCase
{
protected function createPoLoader(): StrictPoLoader
/**
* @return StrictPoLoader
*/
protected function createPoLoader(): Loader
{
return new StrictPoLoader();
}
Expand Down

0 comments on commit 1830ea4

Please sign in to comment.