Skip to content

Commit dce7bf2

Browse files
authored
MAGETWO-67505: Fixed coding standard violations in the Framework\Message namespace #9257
2 parents 13cc393 + bd72424 commit dce7bf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/Magento/Framework/Message/Factory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\Framework\Message;
108

119
use Magento\Framework\ObjectManagerInterface;
@@ -63,7 +61,9 @@ public function create($type, $text = null)
6361

6462
$message = $this->objectManager->create($className, $text === null ? [] : ['text' => $text]);
6563
if (!$message instanceof MessageInterface) {
66-
throw new \InvalidArgumentException($className . ' doesn\'t implement \Magento\Framework\Message\MessageInterface');
64+
throw new \InvalidArgumentException(
65+
$className . ' doesn\'t implement \Magento\Framework\Message\MessageInterface'
66+
);
6767
}
6868

6969
return $message;

0 commit comments

Comments
 (0)