Skip to content

Commit bd72424

Browse files
committed
MAGETWO-67505: Fixed coding standard violations in the Framework\Message namespace #9257
- Merge Pull Request #9257 from dverkade/magento2:Fix_coding_standard_in_Framework-Message
2 parents 1a8dd8c + d1662b6 commit bd72424

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)