From 42b067767c9f58b6a2a85da57acc337f3f0a87e9 Mon Sep 17 00:00:00 2001 From: Danny Verkade Date: Mon, 17 Apr 2017 21:08:02 +0200 Subject: [PATCH] Fixed coding standard violation in the Framework\Image namespace. Corrected the following: - Removed the @codingStandardsIgnoreFile from the head of the file. - Fixed line length --- lib/internal/Magento/Framework/Image/Factory.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/internal/Magento/Framework/Image/Factory.php b/lib/internal/Magento/Framework/Image/Factory.php index ec5178afd49e0..a0fb6bef4ae46 100644 --- a/lib/internal/Magento/Framework/Image/Factory.php +++ b/lib/internal/Magento/Framework/Image/Factory.php @@ -4,8 +4,6 @@ * See COPYING.txt for license details. */ -// @codingStandardsIgnoreFile - namespace Magento\Framework\Image; use Magento\Framework\ObjectManagerInterface; @@ -26,8 +24,10 @@ class Factory * @param ObjectManagerInterface $objectManager * @param AdapterFactory $adapterFactory */ - public function __construct(ObjectManagerInterface $objectManager, AdapterFactory $adapterFactory) - { + public function __construct( + ObjectManagerInterface $objectManager, + AdapterFactory $adapterFactory + ) { $this->objectManager = $objectManager; $this->adapterFactory = $adapterFactory; } @@ -43,6 +43,8 @@ public function create($fileName = null, $adapterName = null) { $adapter = $this->adapterFactory->create($adapterName); return $this->objectManager->create( - \Magento\Framework\Image::class, ['adapter' => $adapter, 'fileName' => $fileName]); + \Magento\Framework\Image::class, + ['adapter' => $adapter, 'fileName' => $fileName] + ); } }