We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ca616 commit 1830ea4Copy full SHA for 1830ea4
2 files changed
src/Loader/StrictPoLoader.php
@@ -46,8 +46,7 @@ public function loadStringExtended(
46
string $string,
47
Translations $translations = null,
48
bool $throwOnWarning = false
49
- ): Translations
50
- {
+ ): Translations {
51
$this->data = $string;
52
$this->position = 0;
53
$this->translations = parent::loadString($string, $translations);
tests/StrictPoLoaderTest.php
@@ -3,11 +3,15 @@
3
4
namespace Gettext\Tests;
5
6
+use Gettext\Loader\Loader;
7
use Gettext\Loader\StrictPoLoader;
8
9
class StrictPoLoaderTest extends BasePoLoaderTestCase
10
{
- protected function createPoLoader(): StrictPoLoader
11
+ /**
12
+ * @return StrictPoLoader
13
+ */
14
+ protected function createPoLoader(): Loader
15
16
return new StrictPoLoader();
17
}
0 commit comments