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 44 * See COPYING.txt for license details.
55 */
66
7+ declare (strict_types=1 );
8+
79namespace Magento \Framework \Phrase \Renderer ;
810
911use Magento \Framework \Phrase \RendererInterface ;
@@ -26,7 +28,7 @@ public function __construct(TranslateInterface $translate)
2628 }
2729
2830 /**
29- * @inheritDoc
31+ * @inheritdoc
3032 */
3133 public function render (array $ source , array $ arguments )
3234 {
Original file line number Diff line number Diff line change 44 * See COPYING.txt for license details.
55 */
66
7+ declare (strict_types=1 );
8+
79namespace Magento \Framework \Phrase \Test \Unit \Renderer ;
810
911use Magento \Framework \Phrase \Renderer \MessageFormatter ;
1012use Magento \Framework \TestFramework \Unit \Helper \ObjectManager ;
1113use Magento \Framework \Translate ;
14+ use PHPUnit \Framework \TestCase ;
1215
1316/**
1417 * Tests that messages sent through the MessageFormatter phrase renderer result in what would be expected when sent
1518 * through PHP's native MessageFormatter, and that the locale is pulled from the Translate dependency
1619 */
17- class MessageFormatterTest extends \ PHPUnit \ Framework \ TestCase
20+ class MessageFormatterTest extends TestCase
1821{
1922 /** @var ObjectManager */
2023 private $ objectManager ;
2124
25+ /**
26+ * @inheritdoc
27+ */
2228 protected function setUp ()
2329 {
24- $ this ->objectManager = new \ Magento \ Framework \ TestFramework \ Unit \ Helper \ ObjectManager ($ this );
30+ $ this ->objectManager = new ObjectManager ($ this );
2531 }
2632
2733 /**
You can’t perform that action at this time.
0 commit comments