Skip to content

Commit 2106c53

Browse files
author
Stanislav Idolov
authored
ENGCOM-2283: Removed space before ending sentence. #16717
2 parents a20e783 + 9f2027f commit 2106c53

File tree

23 files changed

+25
-33
lines changed

23 files changed

+25
-33
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function render(DataObject $row)
5858
$result .= $this->getColumn()->getEditOnly() ? ''
5959
: '<span class="admin__grid-control-value">' . $this->_getValue($row) . '</span>';
6060

61-
return $result . $this->_getInputValueElement($row) . '</div>' ;
61+
return $result . $this->_getInputValueElement($row) . '</div>';
6262
}
6363
return $this->_getValue($row);
6464
}

app/code/Magento/Backend/Test/Unit/Controller/Adminhtml/Dashboard/AbstractTestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ protected function assertExecute($controllerName, $blockName)
2121
{
2222
$objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);
2323
$outPut = "data";
24-
$resultRawMock = $this->createPartialMock(\Magento\Framework\Controller\Result\Raw::class, ['setContents'])
25-
;
24+
$resultRawMock = $this->createPartialMock(\Magento\Framework\Controller\Result\Raw::class, ['setContents']);
2625
$resultRawFactoryMock =
2726
$this->createPartialMock(\Magento\Framework\Controller\Result\RawFactory::class, ['create']);
2827
$layoutFactoryMock = $this->createPartialMock(\Magento\Framework\View\LayoutFactory::class, ['create']);

app/code/Magento/Catalog/Model/Category/Link/SaveHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function execute($entity, $arguments = [])
6060
if ($dtoCategoryLinks !== null) {
6161
$hydrator = $this->hydratorPool->getHydrator(CategoryLinkInterface::class);
6262
$dtoCategoryLinks = array_map(function ($categoryLink) use ($hydrator) {
63-
return $hydrator->extract($categoryLink) ;
63+
return $hydrator->extract($categoryLink);
6464
}, $dtoCategoryLinks);
6565
$processLinks = $this->mergeCategoryLinks($dtoCategoryLinks, $modelCategoryLinks);
6666
} else {

app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function hasProductLinks($parentId)
112112
['count' => new \Zend_Db_Expr('COUNT(*)')]
113113
)->where(
114114
'product_id = :product_id'
115-
) ;
115+
);
116116

117117
return $connection->fetchOne(
118118
$select,

app/code/Magento/Config/Console/Command/ConfigSet/ProcessorFacade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ public function processWithLockTarget(
141141
? $this->configSetProcessorFactory->create(ConfigSetProcessorFactory::TYPE_LOCK_ENV)
142142
: $this->configSetProcessorFactory->create(ConfigSetProcessorFactory::TYPE_LOCK_CONFIG)
143143
)
144-
: $this->configSetProcessorFactory->create(ConfigSetProcessorFactory::TYPE_DEFAULT)
145-
;
144+
: $this->configSetProcessorFactory->create(ConfigSetProcessorFactory::TYPE_DEFAULT);
146145

147146
$message =
148147
$lock

app/code/Magento/Developer/Model/Di/PluginList.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ private function addPluginToList($pluginInstance, $pluginMethod, $methodTypes, $
145145
if (!array_key_exists($pluginInstance, $this->pluginList[$this->pluginTypeMapping[$typeCode]])) {
146146
$this->pluginList[$this->pluginTypeMapping[$typeCode]][$pluginInstance] = [];
147147
}
148-
149148
if (!in_array($pluginMethod, $this->pluginList[$this->pluginTypeMapping[$typeCode]][$pluginInstance])) {
150149
$this->pluginList[$this->pluginTypeMapping[$typeCode]][$pluginInstance][] = $pluginMethod;
151150
}

app/code/Magento/PageCache/Model/Cache/Server.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ public function getUris()
6262
foreach ($configuredHosts as $host) {
6363
$servers[] = UriFactory::factory('')
6464
->setHost($host['host'])
65-
->setPort(isset($host['port']) ? $host['port'] : self::DEFAULT_PORT)
66-
;
65+
->setPort(isset($host['port']) ? $host['port'] : self::DEFAULT_PORT);
6766
}
6867
} elseif ($this->request->getHttpHost()) {
6968
$servers[] = UriFactory::factory('')->setHost($this->request->getHttpHost())->setPort(self::DEFAULT_PORT);

app/code/Magento/Payment/Test/Unit/Gateway/Data/PaymentDataObjectTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ protected function setUp()
4040

4141
public function testGetOrder()
4242
{
43-
$this->assertSame($this->orderMock, $this->model->getOrder()) ;
43+
$this->assertSame($this->orderMock, $this->model->getOrder());
4444
}
4545

4646
public function testGetPayment()
4747
{
48-
$this->assertSame($this->paymentMock, $this->model->getPayment()) ;
48+
$this->assertSame($this->paymentMock, $this->model->getPayment());
4949
}
5050
}

app/code/Magento/Quote/Test/Unit/Model/Product/Plugin/UpdateQuoteItemsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class UpdateQuoteItemsTest extends \PHPUnit\Framework\TestCase
1515
/**
1616
* @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Quote\Model\ResourceModel\Quote
1717
*/
18-
private $quoteResource ;
18+
private $quoteResource;
1919

2020
protected function setUp()
2121
{

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define([
4848
var buttons = controlButtonArea.childElements();
4949
for (var i = 0; i < buttons.length; i++) {
5050
if (buttons[i].innerHTML.include(button.label)) {
51-
return ;
51+
return;
5252
}
5353
}
5454
button.insertIn(controlButtonArea, 'top');

0 commit comments

Comments
 (0)