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.
2 parents 1a8dd8c + d1662b6 commit bd72424Copy full SHA for bd72424
lib/internal/Magento/Framework/Message/Factory.php
@@ -4,8 +4,6 @@
4
* See COPYING.txt for license details.
5
*/
6
7
-// @codingStandardsIgnoreFile
8
-
9
namespace Magento\Framework\Message;
10
11
use Magento\Framework\ObjectManagerInterface;
@@ -63,7 +61,9 @@ public function create($type, $text = null)
63
61
64
62
$message = $this->objectManager->create($className, $text === null ? [] : ['text' => $text]);
65
if (!$message instanceof MessageInterface) {
66
- throw new \InvalidArgumentException($className . ' doesn\'t implement \Magento\Framework\Message\MessageInterface');
+ throw new \InvalidArgumentException(
+ $className . ' doesn\'t implement \Magento\Framework\Message\MessageInterface'
+ );
67
}
68
69
return $message;
0 commit comments