Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed commented out line for ignoring coding standards #6913

Merged
merged 3 commits into from
Mar 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/internal/Magento/Framework/Profiler/Driver/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/

// @codingStandardsIgnoreFile

namespace Magento\Framework\Profiler\Driver;

use Magento\Framework\Profiler\DriverInterface;
Expand Down Expand Up @@ -65,7 +62,10 @@ public function create(array $config = null)
$driver = new $class($config);
if (!$driver instanceof DriverInterface) {
throw new \InvalidArgumentException(
sprintf("Driver class \"%s\" must implement \Magento\Framework\Profiler\DriverInterface.", get_class($driver))
sprintf(
"Driver class \"%s\" must implement \Magento\Framework\Profiler\DriverInterface.",
get_class($driver)
)
);
}
return $driver;
Expand Down