File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
lib/internal/Magento/Framework/Phrase Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ declare (strict_types=1 );
8
+
7
9
namespace Magento \Framework \Phrase \Renderer ;
8
10
9
11
use Magento \Framework \Phrase \RendererInterface ;
@@ -26,7 +28,7 @@ public function __construct(TranslateInterface $translate)
26
28
}
27
29
28
30
/**
29
- * @inheritDoc
31
+ * @inheritdoc
30
32
*/
31
33
public function render (array $ source , array $ arguments )
32
34
{
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ declare (strict_types=1 );
8
+
7
9
namespace Magento \Framework \Phrase \Test \Unit \Renderer ;
8
10
9
11
use Magento \Framework \Phrase \Renderer \MessageFormatter ;
10
12
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager ;
11
13
use Magento \Framework \Translate ;
14
+ use PHPUnit \Framework \TestCase ;
12
15
13
16
/**
14
17
* Tests that messages sent through the MessageFormatter phrase renderer result in what would be expected when sent
15
18
* through PHP's native MessageFormatter, and that the locale is pulled from the Translate dependency
16
19
*/
17
- class MessageFormatterTest extends \ PHPUnit \ Framework \ TestCase
20
+ class MessageFormatterTest extends TestCase
18
21
{
19
22
/** @var ObjectManager */
20
23
private $ objectManager ;
21
24
25
+ /**
26
+ * @inheritdoc
27
+ */
22
28
protected function setUp ()
23
29
{
24
- $ this ->objectManager = new \ Magento \ Framework \ TestFramework \ Unit \ Helper \ ObjectManager ($ this );
30
+ $ this ->objectManager = new ObjectManager ($ this );
25
31
}
26
32
27
33
/**
You can’t perform that action at this time.
0 commit comments